-
-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from KaungMyat-Min/feature/uiCustomize
- Loading branch information
Showing
19 changed files
with
186 additions
and
24 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<vector android:height="24dp" android:viewportHeight="508.48" | ||
android:viewportWidth="508.48" android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<path android:fillColor="@color/colorPrimary" android:pathData="M114.928,174.046l-28.8,28.8C114.48,109.944 212.776,57.617 305.677,85.969c35.405,10.805 66.498,32.506 88.851,62.012l25.488,-19.312C350.79,37.151 220.481,19.078 128.962,88.304c-37.933,28.692 -64.873,69.53 -76.322,115.694l-30.016,-29.952L0,196.654l68.8,68.8l68.8,-68.8L114.928,174.046z"/> | ||
<path android:fillColor="@color/colorPrimaryDark" android:pathData="M439.68,242.702l-68.8,68.8l22.624,22.624l29.136,-29.12c-28.103,93.051 -126.317,145.702 -219.368,117.599c-37.011,-11.178 -69.311,-34.231 -91.912,-65.599l-25.968,18.688c32.093,44.868 80.787,75.048 135.248,83.824c11.162,1.812 22.452,2.727 33.76,2.736c95.518,-0.045 178.669,-65.284 201.44,-158.048l29.952,29.92l22.688,-22.624L439.68,242.702zM438.88,288.798l0.816,-0.816l1.184,1.2L438.88,288.798z"/> | ||
</vector> |
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<rotate xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:drawable="@drawable/ic_loading" | ||
android:pivotX="50%" | ||
android:pivotY="50%" | ||
android:toDegrees="900" /> |
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
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,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24.0" | ||
android:viewportHeight="24.0"> | ||
<path | ||
android:fillColor="#ffffff" | ||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" /> | ||
</vector> |
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,9 @@ | ||
<vector xmlns:android="http://schemas.android.com/apk/res/android" | ||
android:width="24dp" | ||
android:height="24dp" | ||
android:viewportWidth="24.0" | ||
android:viewportHeight="24.0"> | ||
<path | ||
android:fillColor="#000000" | ||
android:pathData="M20,11H7.83l5.59,-5.59L12,4l-8,8 8,8 1.41,-1.41L7.83,13H20v-2z" /> | ||
</vector> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<com.google.android.material.appbar.AppBarLayout 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="wrap_content"> | ||
|
||
<androidx.appcompat.widget.Toolbar | ||
android:id="@+id/toolbar" | ||
android:layout_width="match_parent" | ||
android:layout_height="?actionBarSize" | ||
android:background="?pdfView_actionBarTint" | ||
app:navigationIcon="?pdfView_backIcon"> | ||
|
||
<TextView | ||
android:id="@+id/tvAppBarTitle" | ||
style="?pdfView_titleTextStyle" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:clickable="false" | ||
android:focusable="false" | ||
android:longClickable="false" | ||
android:text="@string/pdfView_appName" /> | ||
|
||
</androidx.appcompat.widget.Toolbar> | ||
|
||
</com.google.android.material.appbar.AppBarLayout> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<string name="pdfView_appName">Pdf View</string> | ||
<string name="content_des">PDF PAGE</string> | ||
</resources> |
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,40 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
|
||
<style name="Theme.PdfView.SelectedTheme" parent="@style/Theme.PdfView.Light" /> | ||
|
||
<style name="Theme.PdfView.Light" parent="@style/Theme.AppCompat.Light.NoActionBar"> | ||
<item name="pdfView_backIcon">@drawable/ic_arrow_back</item> | ||
<item name="pdfView_downloadIcon">@android:drawable/stat_sys_download</item> | ||
<item name="pdfView_downloadIconTint">#888A87</item> | ||
<item name="pdfView_actionBarTint">#000000</item> | ||
<item name="pdfView_titleTextStyle">@style/pdfView_titleTextAppearance</item> | ||
<item name="pdfView_progressBar">@style/pdfView_progressBarStyle</item> | ||
</style> | ||
|
||
<style name="Theme.PdfView.Dark" parent="@style/Theme.AppCompat.Light.NoActionBar"> | ||
<item name="pdfView_backIcon">@drawable/ic_arrow_back_alt</item> | ||
<item name="pdfView_downloadIcon">@android:drawable/stat_sys_download</item> | ||
<item name="pdfView_downloadIconTint">#2f2f2f</item> | ||
<item name="pdfView_actionBarTint">#ffffff</item> | ||
<item name="pdfView_titleTextStyle">@style/pdfView_titleTextAppearanceDark</item> | ||
<item name="pdfView_progressBar">@style/pdfView_progressBarStyle</item> | ||
</style> | ||
|
||
<style name="pdfView_titleTextAppearance" parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> | ||
<item name="android:gravity">center_vertical</item> | ||
<item name="android:textColor">#ffffff</item> | ||
</style> | ||
|
||
<style name="pdfView_titleTextAppearanceDark" parent="TextAppearance.AppCompat.Widget.ActionBar.Title"> | ||
<item name="android:gravity">center_vertical</item> | ||
<item name="android:textColor">#2f2f2f</item> | ||
</style> | ||
|
||
<style name="pdfView_progressBarStyle" parent="Widget.AppCompat.ProgressBar"> | ||
<item name="android:layout_width">wrap_content</item> | ||
<item name="android:layout_height">wrap_content</item> | ||
<item name="android:layout_gravity">center</item> | ||
</style> | ||
|
||
</resources> |