mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 07:16:04 -04:00
Now indentation normal
This commit is contained in:
parent
32da5db7f2
commit
b93288278e
@ -5,109 +5,109 @@
|
|||||||
android:versionCode="27"
|
android:versionCode="27"
|
||||||
android:versionName="1.97">
|
android:versionName="1.97">
|
||||||
|
|
||||||
<supports-screens
|
<supports-screens
|
||||||
android:anyDensity="true"
|
android:anyDensity="true"
|
||||||
android:largeScreens="true"
|
android:largeScreens="true"
|
||||||
android:normalScreens="true"
|
android:normalScreens="true"
|
||||||
android:resizeable="true"
|
android:resizeable="true"
|
||||||
android:smallScreens="true" />
|
android:smallScreens="true" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
android:hardwareAccelerated="true"
|
android:hardwareAccelerated="true"
|
||||||
android:icon="@mipmap/kiwix_icon"
|
android:icon="@mipmap/kiwix_icon"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<activity
|
<activity
|
||||||
android:name=".KiwixMobileActivity"
|
android:name=".KiwixMobileActivity"
|
||||||
android:configChanges="orientation|keyboardHidden|screenSize|locale"
|
android:configChanges="orientation|keyboardHidden|screenSize|locale"
|
||||||
android:label="@string/app_name">
|
android:label="@string/app_name">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.LAUNCHER" />
|
<category android:name="android.intent.category.LAUNCHER" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
|
|
||||||
<data android:scheme="file" />
|
<data android:scheme="file" />
|
||||||
<data android:pathPattern=".*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|
||||||
<data android:scheme="http" />
|
<data android:scheme="http" />
|
||||||
<data android:host="*" />
|
<data android:host="*" />
|
||||||
<data android:pathPattern=".*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|
||||||
<data android:scheme="https" />
|
<data android:scheme="https" />
|
||||||
<data android:host="*" />
|
<data android:host="*" />
|
||||||
<data android:pathPattern=".*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.VIEW" />
|
<action android:name="android.intent.action.VIEW" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.BROWSABLE" />
|
<category android:name="android.intent.category.BROWSABLE" />
|
||||||
|
|
||||||
<data android:scheme="content" />
|
<data android:scheme="content" />
|
||||||
<data android:host="*" />
|
<data android:host="*" />
|
||||||
<data android:pathPattern=".*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\.zim(aa|)" />
|
||||||
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
<data android:pathPattern=".*\\..*\\..*\\..*\\.zim(aa|)" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name=".ZimFileSelectActivity"
|
android:name=".ZimFileSelectActivity"
|
||||||
android:label="@string/choose_file">
|
android:label="@string/choose_file">
|
||||||
|
|
||||||
<!-- TODO -->
|
<!-- TODO -->
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.GET_CONTENT" />
|
<action android:name="android.intent.action.GET_CONTENT" />
|
||||||
|
|
||||||
<category android:name="android.intent.category.DEFAULT" />
|
<category android:name="android.intent.category.DEFAULT" />
|
||||||
<category android:name="android.intent.category.OPENABLE" />
|
<category android:name="android.intent.category.OPENABLE" />
|
||||||
|
|
||||||
<data android:mimeType="*/*" />
|
<data android:mimeType="*/*" />
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
<activity android:name=".settings.KiwixSettingsActivity" />
|
<activity android:name=".settings.KiwixSettingsActivity" />
|
||||||
<activity android:name=".SearchActivity" />
|
<activity android:name=".SearchActivity" />
|
||||||
<activity android:name=".views.BookmarksActivity" />
|
<activity android:name=".views.BookmarksActivity" />
|
||||||
|
|
||||||
|
|
||||||
<provider
|
<provider
|
||||||
android:name=".ZimContentProvider"
|
android:name=".ZimContentProvider"
|
||||||
android:authorities="org.kiwix.zim.base"
|
android:authorities="org.kiwix.zim.base"
|
||||||
android:exported="true" />
|
android:exported="true" />
|
||||||
|
|
||||||
|
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
@ -6,40 +6,40 @@
|
|||||||
android:layout_height="fill_parent"
|
android:layout_height="fill_parent"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<android.support.v7.widget.Toolbar
|
<android.support.v7.widget.Toolbar
|
||||||
android:id="@+id/toolbar"
|
android:id="@+id/toolbar"
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="?actionBarSize"
|
||||||
|
android:background="?colorPrimaryDark"
|
||||||
|
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
||||||
|
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
|
||||||
|
|
||||||
|
|
||||||
|
<RelativeLayout
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="match_parent">
|
||||||
|
|
||||||
|
<ListView
|
||||||
|
android:id="@+id/bookmarks_list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="?actionBarSize"
|
android:layout_height="match_parent" />
|
||||||
android:background="?colorPrimaryDark"
|
|
||||||
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
|
|
||||||
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar" />
|
|
||||||
|
|
||||||
|
|
||||||
<RelativeLayout
|
<TextView
|
||||||
android:layout_width="match_parent"
|
android:id="@+id/bookmarks_list_nobookmarks"
|
||||||
android:layout_height="match_parent">
|
style="@android:style/TextAppearance.Large"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_centerInParent="true"
|
||||||
|
android:gravity="center"
|
||||||
|
android:paddingBottom="15dp"
|
||||||
|
android:paddingLeft="10dp"
|
||||||
|
android:paddingRight="10dp"
|
||||||
|
android:paddingTop="15dp"
|
||||||
|
android:text="@string/no_bookmarks"
|
||||||
|
android:visibility="gone" />
|
||||||
|
|
||||||
<ListView
|
</RelativeLayout>
|
||||||
android:id="@+id/bookmarks_list"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="match_parent" />
|
|
||||||
|
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/bookmarks_list_nobookmarks"
|
|
||||||
style="@android:style/TextAppearance.Large"
|
|
||||||
android:layout_width="wrap_content"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:layout_centerInParent="true"
|
|
||||||
android:gravity="center"
|
|
||||||
android:paddingBottom="15dp"
|
|
||||||
android:paddingLeft="10dp"
|
|
||||||
android:paddingRight="10dp"
|
|
||||||
android:paddingTop="15dp"
|
|
||||||
android:text="@string/no_bookmarks"
|
|
||||||
android:visibility="gone" />
|
|
||||||
|
|
||||||
</RelativeLayout>
|
|
||||||
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user