diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f007a712..8e49bf42 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="gr.thmmy.mthmmy"> @@ -8,6 +8,7 @@ embededVideosUrls = new ArrayList<>(); + + for (Element _noembed : noembedTag) { + embededVideosUrls.add(_noembed.text().substring(_noembed.text() + .indexOf("href=\"https://www.youtube.com/watch?") + 6 + , _noembed.text().indexOf("target") - 6)); + } + + int tmp_counter = 0; + while (p_post.contains("") + 9) + , "" + ); + } + } + //Add stuff to make it work in WebView p_post = ("" + p_post); //style.css @@ -129,7 +151,7 @@ class TopicParser { List infoList = Arrays.asList(info.html().split("
")); for (String line : infoList) { - Log.i(TAG, line); + //Log.i(TAG, line); if (line.contains("Posts:")) { postsLineIndex = infoList.indexOf(line); //Remove any line breaks and spaces on the start and end diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml index 7c4e3ada..eccc23ab 100644 --- a/app/src/main/res/layout/activity_about.xml +++ b/app/src/main/res/layout/activity_about.xml @@ -19,7 +19,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" - app:popupTheme="@style/popupTheme"> + app:popupTheme="@style/ToolbarTheme"> diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 108e85c4..c7d05e36 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -21,7 +21,7 @@ android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" android:background="?attr/colorPrimary" - app:popupTheme="@style/popupTheme"> + app:popupTheme="@style/ToolbarTheme"> #CCCCCC #464646 #D3D3D3 + #80212c6f diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 903df759..6b9c7435 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -17,6 +17,7 @@ @color/iron @color/primary + @style/AppCompatAlertDialogStyle - - - - @@ -41,4 +36,10 @@ @color/primary + +