-
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tablet layout and improve comprehension of different version (#360)
* Remove chip icon and add better layout on tablet * Add about layout for tablet --------- Co-authored-by: Benjamin Falière <[email protected]>
- Loading branch information
1 parent
e8665ff
commit 0020b5a
Showing
20 changed files
with
205 additions
and
206 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
14 changes: 0 additions & 14 deletions
14
app/src/main/java/org/eu/exodus_privacy/exodusprivacy/objects/VersionReport.kt
This file was deleted.
Oops, something went wrong.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<androidx.constraintlayout.widget.ConstraintLayout | ||
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_width="match_parent" | ||
android:layout_height="match_parent" | ||
android:layout_marginBottom="80dp" | ||
android:gravity="start" | ||
tools:context=".fragments.about.AboutFragment" | ||
tools:theme="@style/Theme.Exodus"> | ||
<com.google.android.material.appbar.MaterialToolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:title="@string/title_about" /> | ||
<com.google.android.material.imageview.ShapeableImageView | ||
android:id="@+id/imageView" | ||
android:layout_width="96dp" | ||
android:layout_height="96dp" | ||
android:layout_marginStart="80dp" | ||
android:contentDescription="@string/app_logo" | ||
android:src="@drawable/ic_logo" | ||
app:layout_constraintBottom_toBottomOf="parent" | ||
app:layout_constraintStart_toStartOf="parent" | ||
app:layout_constraintTop_toTopOf="parent" | ||
app:layout_constraintVertical_bias="0.5" /> | ||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appNameTV" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:text="@string/app_name" | ||
android:textAlignment="center" | ||
android:textColor="?android:textColorPrimary" | ||
android:textSize="20sp" | ||
app:layout_constraintEnd_toEndOf="@id/imageView" | ||
app:layout_constraintStart_toStartOf="@id/imageView" | ||
app:layout_constraintTop_toBottomOf="@id/imageView" /> | ||
<com.google.android.material.textview.MaterialTextView | ||
android:id="@+id/appVersionTV" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginTop="4dp" | ||
android:textAlignment="center" | ||
android:textColor="?android:textColorPrimary" | ||
android:textSize="15sp" | ||
app:layout_constraintEnd_toEndOf="@id/imageView" | ||
app:layout_constraintStart_toStartOf="@id/imageView" | ||
app:layout_constraintTop_toBottomOf="@id/appNameTV" /> | ||
<!-- | ||
Required ViewGroup for PreferenceFragmentCompat | ||
False positive for id not in API < 24 | ||
--> | ||
<FrameLayout | ||
android:id="@android:id/list_container" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
android:layout_marginStart="100dp" | ||
app:layout_constraintEnd_toEndOf="parent" | ||
app:layout_constraintStart_toEndOf="@id/imageView" | ||
app:layout_constraintTop_toBottomOf="@id/toolbar" | ||
tools:targetApi="n" /> | ||
</androidx.constraintlayout.widget.ConstraintLayout> |
This file contains 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
This file contains 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
Oops, something went wrong.