Skip to content
This repository has been archived by the owner on Jun 20, 2021. It is now read-only.

Commit

Permalink
Merge pull request #479 from ratan12/Update
Browse files Browse the repository at this point in the history
Update Forums & support navigationdrawer
  • Loading branch information
ratan12 committed Feb 14, 2016
2 parents 1a9e219 + 349e5f0 commit 3bd2c04
Show file tree
Hide file tree
Showing 139 changed files with 2,073 additions and 2,492 deletions.
4 changes: 1 addition & 3 deletions Atarashii/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.somethingdreadful.MAL"
android:versionCode="14"
android:versionName="1.5a0">
package="net.somethingdreadful.MAL">

<uses-sdk
android:minSdkVersion="14"
Expand Down
2 changes: 1 addition & 1 deletion Atarashii/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ dependencies {
compile 'com.android.support:cardview-v7:23.+'
compile 'com.android.support:appcompat-v7:23.+'
compile 'com.android.support:design:23.+'
compile 'com.google.code.gson:gson:2.4'
compile 'com.google.code.gson:gson:2.5'
compile 'org.apache.commons:commons-lang3:3.4'
compile 'com.squareup.okhttp:okhttp:2.5.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
Expand Down
Binary file removed Atarashii/res/drawable-hdpi/drawer_shadow.9.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-hdpi/ic_send.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-mdpi/drawer_shadow.9.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-mdpi/ic_send.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-xhdpi/drawer_shadow.9.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-xhdpi/ic_send.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-xxhdpi/drawer_shadow.9.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-xxhdpi/ic_send.png
Binary file not shown.
Binary file removed Atarashii/res/drawable-xxxhdpi/ic_send.png
Binary file not shown.
1 change: 0 additions & 1 deletion Atarashii/res/drawable/card_header.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/card_header_drawable"
android:shape="rectangle">
<corners
android:topLeftRadius="2dp"
Expand Down
1 change: 0 additions & 1 deletion Atarashii/res/layout-w720dp/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
android:layout_height="fill_parent">

<RelativeLayout
android:id="@+id/about_dialog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
android:id="@+id/scrollView">

<RelativeLayout
android:id="@+id/backgroundContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down
2 changes: 0 additions & 2 deletions Atarashii/res/layout-w720dp/activity_detailview_general.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
android:id="@+id/scrollView">

<RelativeLayout
android:id="@+id/backgroundContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down Expand Up @@ -44,7 +43,6 @@
</RelativeLayout>

<RelativeLayout
android:id="@+id/container2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/container1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
android:id="@+id/scrollView">

<RelativeLayout
android:id="@+id/backgroundContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down
1 change: 0 additions & 1 deletion Atarashii/res/layout-w720dp/fragment_profile_mal.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
android:layout_height="fill_parent">

<RelativeLayout
android:id="@+id/profile"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down
1 change: 0 additions & 1 deletion Atarashii/res/layout/activity_about.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
android:layout_height="fill_parent">

<RelativeLayout
android:id="@+id/about_dialog"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down
2 changes: 0 additions & 2 deletions Atarashii/res/layout/activity_firstrun.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/textView2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_horizontal"
Expand All @@ -104,7 +103,6 @@
</RelativeLayout>

<RelativeLayout
android:id="@+id/loginForm"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp">
Expand Down
33 changes: 11 additions & 22 deletions Atarashii/res/layout/activity_forum.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,19 @@
android:layout_width="match_parent"
android:layout_height="match_parent">

<ViewFlipper
android:id="@+id/viewFlipper"
<WebView
android:id="@+id/webview"
android:layout_marginTop="56dp"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="56dp">
android:layout_height="match_parent"/>

<fragment
android:id="@+id/main"
android:name="net.somethingdreadful.MAL.forum.ForumsMain"
android:layout_width="match_parent"
android:layout_height="match_parent" />

<fragment
android:id="@+id/topics"
android:name="net.somethingdreadful.MAL.forum.ForumsTopics"
android:layout_width="match_parent"
android:layout_height="match_parent" />

<fragment
android:id="@+id/posts"
android:name="net.somethingdreadful.MAL.forum.ForumsPosts"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</ViewFlipper>
<ProgressBar
android:id="@+id/progress1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_centerInParent="true"
android:visibility="gone" />

<include layout="@layout/theme_viewpager_notabs" />
</RelativeLayout>
92 changes: 0 additions & 92 deletions Atarashii/res/layout/activity_forum_main.xml

This file was deleted.

28 changes: 0 additions & 28 deletions Atarashii/res/layout/activity_forum_topics.xml

This file was deleted.

17 changes: 15 additions & 2 deletions Atarashii/res/layout/activity_home.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,21 @@
<android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/drawer_layout"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/drawerLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
android:layout_height="match_parent"
android:fitsSystemWindows="true"
tools:context=".Home">

<include layout="@layout/theme_viewpager" />

<android.support.design.widget.NavigationView
android:id="@+id/navigationView"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_gravity="start"
android:fitsSystemWindows="true"
app:headerLayout="@layout/navdrawer_header"
app:menu="@menu/navdrawer" />
</android.support.v4.widget.DrawerLayout>

1 change: 0 additions & 1 deletion Atarashii/res/layout/card_about_translations.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
android:textStyle="bold" />

<TextView
android:id="@+id/notapproved_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/notapproved"
Expand Down
6 changes: 0 additions & 6 deletions Atarashii/res/layout/card_detailview_details_mediainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
<TableRow>

<TextView
android:id="@+id/typeLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_media_type"
Expand Down Expand Up @@ -71,7 +70,6 @@
<TableRow android:layout_marginTop="8dp">

<TextView
android:id="@+id/statusLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_media_status"
Expand All @@ -95,7 +93,6 @@
android:id="@+id/startRow">

<TextView
android:id="@+id/startLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_start"
Expand All @@ -120,7 +117,6 @@
android:id="@+id/endRow">

<TextView
android:id="@+id/endLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_end"
Expand Down Expand Up @@ -160,7 +156,6 @@
<TableRow android:layout_marginTop="8dp">

<TextView
android:id="@+id/genresLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_genres"
Expand All @@ -182,7 +177,6 @@
android:id="@+id/producersRow">

<TextView
android:id="@+id/producersLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/card_content_producers"
Expand Down
5 changes: 0 additions & 5 deletions Atarashii/res/layout/card_detailview_details_mediastats.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/scoreLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/score"
Expand All @@ -36,7 +35,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/rankedLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/ranked"
Expand All @@ -56,7 +54,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/popularityLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/popularity"
Expand All @@ -76,7 +73,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/membersLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/members"
Expand All @@ -96,7 +92,6 @@
android:textSize="16sp" />

<TextView
android:id="@+id/favoritesLabel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@id/favorites"
Expand Down
Loading

0 comments on commit 3bd2c04

Please sign in to comment.