aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-02-22 05:34:24 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-02-22 05:34:24 +0000
commit1293eac5c84340c4bdb4c9bef283de3e2710c7da (patch)
treefa2b8679c49066122436eb685971adf764057e98 /app/src/main/AndroidManifest.xml
parent82d97cf73208f3f187b965fca4460f68af33f6b7 (diff)
downloadinfinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.gz
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.bz2
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.lz
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.xz
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.tar.zst
infinity-for-reddit-1293eac5c84340c4bdb4c9bef283de3e2710c7da.zip
Add a search view in MainActivity and add a SearchActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/AndroidManifest.xml14
1 files changed, 9 insertions, 5 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 5d815b6d..0d43f71f 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -11,21 +11,25 @@
android:maxSdkVersion="22" />
<application
- android:allowBackup="true"
android:name=".Infinity"
+ android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true">
+ <activity android:name=".SearchActivity"
+ android:theme="@style/AppTheme.NoActionBar"
+ android:label="@string/search_activity_label"
+ android:parentActivityName=".MainActivity">
+ </activity>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
- android:theme="@style/AppTheme.NoActionBar">
+ android:theme="@style/AppTheme.NoActionBarWithTransparentStatusBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
-
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
@@ -47,11 +51,11 @@
<activity
android:name=".ViewSubredditDetailActivity"
android:parentActivityName=".MainActivity"
- android:theme="@style/AppTheme.NoActionBarWithTranslucentStatusBar" />
+ android:theme="@style/AppTheme.NoActionBarWithTranslucentWindow" />
<activity
android:name=".ViewUserDetailActivity"
android:parentActivityName=".MainActivity"
- android:theme="@style/AppTheme.NoActionBarWithTranslucentStatusBar" />
+ android:theme="@style/AppTheme.NoActionBarWithTranslucentWindow" />
</application>
</manifest> \ No newline at end of file