mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-27 04:43:54 +01:00 
			
		
		
		
	Fixed Navigation UI Problem in Split Screen mode # 2788 (#2807)
This commit is contained in:
		
							parent
							
								
									c127bcfea4
								
							
						
					
					
						commit
						13ea61c7a7
					
				
					 1 changed files with 35 additions and 23 deletions
				
			
		|  | @ -1,10 +1,11 @@ | |||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | ||||
|     xmlns:app="http://schemas.android.com/apk/res-auto" | ||||
|     xmlns:tools="http://schemas.android.com/tools" | ||||
|     android:layout_height="match_parent" | ||||
|     android:layout_width="match_parent" | ||||
|     android:background="?attr/drawerHeaderBackground"> | ||||
|     android:layout_height="match_parent" | ||||
|     android:background="?attr/drawerHeaderBackground" | ||||
|     android:orientation="vertical"> | ||||
| 
 | ||||
|     <ImageView | ||||
|         android:id="@+id/pictureOfTheDay" | ||||
|  | @ -17,26 +18,37 @@ | |||
|         android:paddingBottom="@dimen/small_gap" | ||||
|         app:srcCompat="@drawable/commons_logo"/> | ||||
| 
 | ||||
|     <TextView | ||||
|         android:id="@+id/username" | ||||
|         android:layout_width="wrap_content" | ||||
|     <LinearLayout | ||||
|         android:layout_width="match_parent" | ||||
|         android:layout_height="wrap_content" | ||||
|         tools:text="TextView" | ||||
|         android:textColor="@color/item_white_background" | ||||
|         android:textSize="@dimen/subheading_text_size" | ||||
|         android:layout_below="@+id/pictureOfTheDay" | ||||
|         android:layout_centerHorizontal="true" | ||||
|         android:paddingBottom="@dimen/small_gap"/> | ||||
|         android:gravity="center" | ||||
|         android:orientation="horizontal"> | ||||
| 
 | ||||
|     <ImageView | ||||
|         android:id="@+id/user_icon" | ||||
|         android:layout_width="25dp" | ||||
|         android:layout_height="25dp" | ||||
|         app:srcCompat="@drawable/ic_person_black_24dp" | ||||
|         android:textColor="@color/item_white_background" | ||||
|         android:textSize="@dimen/subheading_text_size" | ||||
|         android:layout_below="@+id/pictureOfTheDay" | ||||
|         android:layout_marginLeft="8dp" | ||||
|         android:layout_toRightOf="@+id/username" /> | ||||
|         <TextView | ||||
|             android:id="@+id/username" | ||||
|             android:layout_width="wrap_content" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:layout_marginStart="4dp" | ||||
|             android:layout_marginTop="8dp" | ||||
|             android:layout_marginEnd="4dp" | ||||
|             android:layout_marginBottom="8dp" | ||||
|             android:paddingBottom="@dimen/small_gap" | ||||
|             android:textColor="@color/item_white_background" | ||||
|             android:textSize="@dimen/subheading_text_size" | ||||
|             tools:text="TextView" /> | ||||
| 
 | ||||
| </RelativeLayout> | ||||
|         <ImageView | ||||
|             android:id="@+id/user_icon" | ||||
|             android:layout_width="25dp" | ||||
|             android:layout_height="25dp" | ||||
|             android:layout_marginStart="4dp" | ||||
|             android:layout_marginTop="8dp" | ||||
|             android:layout_marginEnd="4dp" | ||||
|             android:layout_marginBottom="8dp" | ||||
|             android:textColor="@color/item_white_background" | ||||
|             android:textSize="@dimen/subheading_text_size" | ||||
|             app:srcCompat="@drawable/ic_person_black_24dp" /> | ||||
| 
 | ||||
|     </LinearLayout> | ||||
| 
 | ||||
| </LinearLayout> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Madhur Gupta
						Madhur Gupta