diff options
author | tom79 <tschneider.ac@gmail.com> | 2019-05-07 18:10:49 +0200 |
---|---|---|
committer | tom79 <tschneider.ac@gmail.com> | 2019-05-07 18:10:49 +0200 |
commit | e1228f15c8b09f4d0353e5dc2a8eb91ed6f1a88e (patch) | |
tree | 848bd43480a900727744ffef9159aa61f68d90b8 /app/src/main/res/layout | |
parent | ec28de29ec5030d343c3a12c0cacdd2f2780ce8d (diff) |
Fix for not cropped media
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/drawer_status.xml | 8 | ||||
-rw-r--r-- | app/src/main/res/layout/drawer_status_compact.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/layout/drawer_status_console.xml | 10 | ||||
-rw-r--r-- | app/src/main/res/layout/drawer_status_focused.xml | 10 |
4 files changed, 23 insertions, 15 deletions
diff --git a/app/src/main/res/layout/drawer_status.xml b/app/src/main/res/layout/drawer_status.xml index e8b4ef827..bcab804b9 100644 --- a/app/src/main/res/layout/drawer_status.xml +++ b/app/src/main/res/layout/drawer_status.xml @@ -672,12 +672,14 @@ android:visibility="gone" android:id="@+id/status_show_more" android:layout_width="match_parent" - android:layout_height="200dp" + android:layout_height="match_parent" android:layout_centerInParent="true"> <TextView + android:textSize="20sp" + android:gravity="center" android:id="@+id/show_more_content" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="match_parent" /> </RelativeLayout> </RelativeLayout> diff --git a/app/src/main/res/layout/drawer_status_compact.xml b/app/src/main/res/layout/drawer_status_compact.xml index 02ef82aba..12e4c262c 100644 --- a/app/src/main/res/layout/drawer_status_compact.xml +++ b/app/src/main/res/layout/drawer_status_compact.xml @@ -633,12 +633,14 @@ android:visibility="gone" android:id="@+id/status_show_more" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center"> + android:layout_height="match_parent" + android:layout_centerInParent="true"> <TextView + android:textSize="20sp" + android:gravity="center" android:id="@+id/show_more_content" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="match_parent" /> </RelativeLayout> </RelativeLayout> </LinearLayout> diff --git a/app/src/main/res/layout/drawer_status_console.xml b/app/src/main/res/layout/drawer_status_console.xml index 1fcde7137..2315e8dc6 100644 --- a/app/src/main/res/layout/drawer_status_console.xml +++ b/app/src/main/res/layout/drawer_status_console.xml @@ -633,12 +633,14 @@ android:visibility="gone" android:id="@+id/status_show_more" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center"> + android:layout_height="match_parent" + android:layout_centerInParent="true"> <TextView + android:textSize="20sp" + android:gravity="center" android:id="@+id/show_more_content" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="match_parent" /> </RelativeLayout> </RelativeLayout> </LinearLayout> diff --git a/app/src/main/res/layout/drawer_status_focused.xml b/app/src/main/res/layout/drawer_status_focused.xml index 4ec05bbe1..95ffcbc5f 100644 --- a/app/src/main/res/layout/drawer_status_focused.xml +++ b/app/src/main/res/layout/drawer_status_focused.xml @@ -557,12 +557,14 @@ android:visibility="gone" android:id="@+id/status_show_more" android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center"> + android:layout_height="match_parent" + android:layout_centerInParent="true"> <TextView + android:textSize="20sp" + android:gravity="center" android:id="@+id/show_more_content" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> + android:layout_width="match_parent" + android:layout_height="match_parent" /> </RelativeLayout> </RelativeLayout> </LinearLayout> |