diff --git a/app/src/main/java/mehdi/sakout/aboutpage/sample/MainActivity.java b/app/src/main/java/mehdi/sakout/aboutpage/sample/MainActivity.java index 5ed39e6..0af16a0 100644 --- a/app/src/main/java/mehdi/sakout/aboutpage/sample/MainActivity.java +++ b/app/src/main/java/mehdi/sakout/aboutpage/sample/MainActivity.java @@ -20,19 +20,13 @@ protected void onCreate(Bundle savedInstanceState) { View aboutPage = new AboutPage(this) .isRTL(false) - .enableDarkMode(false) + .enableDarkMode(true) .setImage(R.drawable.dummy_image) .addItem(new Element().setTitle("Version 6.2")) .addItem(adsElement) .addGroup("Connect with us") .addEmail("elmehdi.sakout@gmail.com") .addWebsite("https://mehdisakout.com/") - .addFacebook("the.medy") - .addTwitter("medyo80") - .addYoutube("UCdPQtdWIsg7_pi4mrRu46vA") - .addPlayStore("com.ideashower.readitlater.pro") - .addInstagram("medyo80") - .addGitHub("medyo") .addItem(getCopyRightsElement()) .create(); diff --git a/library/src/main/res/layout/about_page.xml b/library/src/main/res/layout/about_page.xml index 9fbae7e..a60c7c5 100644 --- a/library/src/main/res/layout/about_page.xml +++ b/library/src/main/res/layout/about_page.xml @@ -1,14 +1,15 @@ + android:layout_height="match_parent" + android:fillViewport="true"> + android:orientation="vertical"> @@ -21,7 +22,9 @@ style="@style/about_description" /> - + @@ -39,7 +38,6 @@ match_parent @color/about_separator_color 0dp - 1 0dp 0dp