Last active
November 30, 2018 17:26
-
-
Save diefferson/e739202ba4daba2c92a52e5f99d0c684 to your computer and use it in GitHub Desktop.
TranslucentStatusBar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <activity | |
| android:name=".ui.settings.help.AboutActivity" | |
| android:label="@string/app_name" | |
| android:theme="@style/AppTheme.TranslucentStatusBar"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <style name="AppTheme.TranslucentStatusBar"> | |
| <item name="windowActionBar">false</item> | |
| <item name="windowNoTitle">true</item> | |
| <item name="android:windowTranslucentStatus">true</item> | |
| <item name="elevation">0dp</item> | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.constraint.ConstraintLayout | |
| xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| android:fitsSystemWindows="true" | |
| android:background="@drawable/splash_background_image" | |
| android:theme="@style/AppTheme.AppBarOverlay"> | |
| <TextView | |
| android:id="@+id/app_name" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:textSize="20sp" | |
| android:textColor="#FFFFFF" | |
| android:layout_marginBottom="27dp" | |
| android:text="@string/app_name" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintBottom_toTopOf="@id/app_version"/> | |
| <TextView | |
| android:id="@+id/app_version" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginBottom="11dp" | |
| android:text="@string/version" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintBottom_toTopOf="@id/app_logo"/> | |
| <ImageView | |
| android:id="@+id/app_logo" | |
| android:layout_width="100dp" | |
| android:layout_height="100dp" | |
| android:src="@drawable/logo" | |
| app:layout_constraintVertical_chainStyle="packed" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintTop_toTopOf="parent" | |
| app:layout_constraintBottom_toBottomOf="parent" | |
| android:contentDescription="@string/app_name" /> | |
| <TextView | |
| android:id="@+id/copyright" | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:text="@string/copyright" | |
| android:layout_marginTop="18dp" | |
| android:textAlignment="center" | |
| app:layout_constraintVertical_chainStyle="packed" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintTop_toBottomOf="@id/app_logo"/> | |
| <TextView | |
| android:layout_width="wrap_content" | |
| android:layout_height="wrap_content" | |
| android:layout_marginBottom="40dp" | |
| android:text="@string/develop" | |
| app:layout_constraintStart_toStartOf="parent" | |
| app:layout_constraintEnd_toEndOf="parent" | |
| app:layout_constraintBottom_toBottomOf="parent"/> | |
| </android.support.constraint.ConstraintLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment