UI Background from XML not shown corretly in Android Studio -


i'm working on new project support friends gaming clan.

ever since i've been working android studio, error never occurred , non-native english man, it's kinda hard google this.

whenever i'm setting drawable backgrounds or background colors layouts or widgets in project, not shown in-app!

background in xml designer vs. in app

very frustrating. there no errors shown, neither in debug nor in android-studio. using same type of drawables in other projects.

anyone got before or has advice?

ps: progressbar not showing correct here!

a little difficult understand question let's see if can you

try set octopus logo in imageview, , green colocar background of layout. this.

<linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:app="http://schemas.android.com/apk/res-auto"     android:orientation="vertical"     android:layout_width="match_parent"     android:layout_height="match_parent"     android:backgroundtint="your_color">     <imageview         android:id="@+id/icon"         android:layout_width="match_parent"         android:layout_height="?attr/actionbarsize"         android:src="@drawable/nice_octopus"/>     <linearlayout         android:id="@+id/your form"         android:layout_width="match_parent"         android:layout_height="match_parent">         ...      </linearlayout> </linearlayout> 

can post xml file? it's easier


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -