Skip to content

Commit 62c3ecb

Browse files
author
MichaelSDavid
committed
Done xhdpi and implemented more functionality for xxhdpi
1 parent c60e024 commit 62c3ecb

22 files changed

Lines changed: 1257 additions & 7 deletions

app/src/main/res/layout-hdpi/fragment_trending_news.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5-
android:layout_height="400dp"
5+
android:layout_height="match_parent"
66
android:background="#000000"
77
android:orientation="vertical"
88
tools:context=".TrendingNews">
@@ -22,6 +22,11 @@
2222
android:layout_width="match_parent"
2323
android:layout_height="wrap_content"/>
2424

25+
<View
26+
android:layout_width="match_parent"
27+
android:layout_height="200dp"
28+
android:background="#000000"/>
29+
2530
</LinearLayout>
2631
</androidx.core.widget.NestedScrollView>
2732
</androidx.coordinatorlayout.widget.CoordinatorLayout>

app/src/main/res/layout-ldpi/fragment_trending_news.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5-
android:layout_height="425dp"
5+
android:layout_height="match_parent"
66
android:background="#000000"
77
android:orientation="vertical"
88
tools:context=".TrendingNews">
@@ -22,6 +22,11 @@
2222
android:layout_width="match_parent"
2323
android:layout_height="wrap_content"/>
2424

25+
<View
26+
android:layout_width="match_parent"
27+
android:layout_height="200dp"
28+
android:background="#000000"/>
29+
2530
</LinearLayout>
2631
</androidx.core.widget.NestedScrollView>
2732
</androidx.coordinatorlayout.widget.CoordinatorLayout>

app/src/main/res/layout-mdpi/fragment_trending_news.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5-
android:layout_height="700dp"
5+
android:layout_height="match_parent"
66
android:background="#000000"
77
android:orientation="vertical"
88
tools:context=".TrendingNews">
@@ -22,6 +22,11 @@
2222
android:layout_width="match_parent"
2323
android:layout_height="wrap_content"/>
2424

25+
<View
26+
android:layout_width="match_parent"
27+
android:layout_height="200dp"
28+
android:background="#000000"/>
29+
2530
</LinearLayout>
2631
</androidx.core.widget.NestedScrollView>
2732
</androidx.coordinatorlayout.widget.CoordinatorLayout>

app/src/main/res/layout-xhdpi/activity_navigation_bar.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@
2727
android:background="@drawable/nav_bar_rounded"
2828
android:elevation="16dp"
2929
android:padding="4dp"
30-
app:cnb_menuResource="@menu/menu_bottom"/>
30+
app:cnb_menuResource="@menu/menu_bottom_medium"/>
3131

3232
</RelativeLayout>

app/src/main/res/layout-xhdpi/fragment_trending_news.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
xmlns:tools="http://schemas.android.com/tools"
44
android:layout_width="match_parent"
5-
android:layout_height="445dp"
5+
android:layout_height="match_parent"
66
android:background="#000000"
77
android:orientation="vertical"
88
tools:context=".TrendingNews">
@@ -22,6 +22,11 @@
2222
android:layout_width="match_parent"
2323
android:layout_height="wrap_content"/>
2424

25+
<View
26+
android:layout_width="match_parent"
27+
android:layout_height="200dp"
28+
android:background="#000000"/>
29+
2530
</LinearLayout>
2631
</androidx.core.widget.NestedScrollView>
2732
</androidx.coordinatorlayout.widget.CoordinatorLayout>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2+
xmlns:tools="http://schemas.android.com/tools"
3+
android:layout_width="match_parent"
4+
android:layout_height="match_parent"
5+
android:orientation="vertical"
6+
tools:context=".About"
7+
android:background="#000000">
8+
9+
<!-- TODO:
10+
Make text hardcoded under an alias in
11+
strings.xml to help with translations
12+
(as well as HTML-like bolding of headings) -->
13+
<TextView
14+
android:layout_width="wrap_content"
15+
android:layout_height="wrap_content"
16+
android:layout_marginTop="10dp"
17+
android:layout_marginLeft="10dp"
18+
android:layout_marginRight="10dp"
19+
android:textColor="@color/colorWhite"
20+
android:textSize="18sp"
21+
android:text="Multility, by MATDEV Technologies\n\n\nDevelopers:\n Michael David\n Allen Mathew
22+
\n Tristan Parry\n Dev Patel\n Ethan Soosaipillai\n Vincent Tran\n\n\nDesigners:\n Allen Mathew\n Tristan Parry
23+
\n\n\nMedia Coordinators:\n Tristan Parry\n Dev Patel\n\n\nTesters:\n Michael David\n Allen Mathew\n Ethan Soosaipillai\n Vincent Tran\n\n"
24+
tools:ignore="HardcodedText" />
25+
26+
</ScrollView>

0 commit comments

Comments
 (0)