diff options
author | stefan-niedermann <info@niedermann.it> | 2019-09-15 17:33:13 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2019-09-15 17:33:13 +0300 |
commit | d64993f785fa1dc3c4dd63ad450a66484d9428f0 (patch) | |
tree | b2c15fa45b978917647a49afdacbdf3eb378a1e6 | |
parent | c71d4e9f40f0a30f80090dcf17600d3c061d52a8 (diff) |
Enhance "no cards yet"-view
-rw-r--r-- | app/src/main/res/layout/fragment_about_credits_tab.xml | 2 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_stack.xml | 9 |
2 files changed, 7 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_about_credits_tab.xml b/app/src/main/res/layout/fragment_about_credits_tab.xml index 2822782bf..fe462a77e 100644 --- a/app/src/main/res/layout/fragment_about_credits_tab.xml +++ b/app/src/main/res/layout/fragment_about_credits_tab.xml @@ -10,7 +10,7 @@ android:orientation="vertical" android:padding="@dimen/activity_horizontal_margin"> - <TextView xmlns:android="http://schemas.android.com/apk/res/android" + <TextView android:id="@+id/userid" android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/app/src/main/res/layout/fragment_stack.xml b/app/src/main/res/layout/fragment_stack.xml index f64dfccff..23aab4eb6 100644 --- a/app/src/main/res/layout/fragment_stack.xml +++ b/app/src/main/res/layout/fragment_stack.xml @@ -2,6 +2,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" + xmlns:app="http://schemas.android.com/apk/res-auto" android:orientation="vertical"> <LinearLayout @@ -10,10 +11,12 @@ android:layout_height="match_parent" android:visibility="gone"> - <TextView + <androidx.appcompat.widget.AppCompatTextView android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center" + android:layout_height="wrap_content" + android:layout_gravity="center" + app:drawableTopCompat="@drawable/ic_launcher_foreground" + app:drawableTint="@color/grey600" android:textSize="20sp" android:text="@string/no_cards" |