mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	MainActivity: Top bar status indicator adjustments (#7329)
* Move to inside app bar for tablet ui layout so it can be hidden with the app bar at once * Remove the redundant parent view * Add text appearance style
This commit is contained in:
		| @@ -32,41 +32,33 @@ | ||||
|             android:layout_height="wrap_content" | ||||
|             android:visibility="gone" /> | ||||
|  | ||||
|         <FrameLayout | ||||
|         <TextView | ||||
|             android:id="@+id/downloaded_only" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/colorTertiary" | ||||
|             android:gravity="center" | ||||
|             android:padding="4dp" | ||||
|             android:text="@string/label_downloaded_only" | ||||
|             android:textAlignment="center" | ||||
|             android:textAppearance="?attr/textAppearanceLabelMedium" | ||||
|             android:textColor="?attr/colorOnTertiary" | ||||
|             android:visibility="gone" | ||||
|             tools:visibility="visible"> | ||||
|             tools:visibility="visible" /> | ||||
|  | ||||
|             <TextView | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 android:padding="4dp" | ||||
|                 android:text="@string/label_downloaded_only" | ||||
|                 android:textColor="?attr/colorOnTertiary" /> | ||||
|  | ||||
|         </FrameLayout> | ||||
|  | ||||
|         <FrameLayout | ||||
|         <TextView | ||||
|             android:id="@+id/incognito_mode" | ||||
|             android:layout_width="match_parent" | ||||
|             android:layout_height="wrap_content" | ||||
|             android:background="?attr/colorPrimary" | ||||
|             android:gravity="center" | ||||
|             android:padding="4dp" | ||||
|             android:text="@string/pref_incognito_mode" | ||||
|             android:textAlignment="center" | ||||
|             android:textAppearance="?attr/textAppearanceLabelMedium" | ||||
|             android:textColor="?attr/colorOnPrimary" | ||||
|             android:visibility="gone" | ||||
|             tools:visibility="visible"> | ||||
|  | ||||
|             <TextView | ||||
|                 android:layout_width="wrap_content" | ||||
|                 android:layout_height="wrap_content" | ||||
|                 android:layout_gravity="center" | ||||
|                 android:padding="4dp" | ||||
|                 android:text="@string/pref_incognito_mode" | ||||
|                 android:textColor="?attr/colorOnPrimary" /> | ||||
|  | ||||
|         </FrameLayout> | ||||
|             tools:visibility="visible" /> | ||||
|  | ||||
|     </com.google.android.material.appbar.TachiyomiAppBarLayout> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user