mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge pull request #27 from brion/rtl
Initial RTL layout flipping support - plus icon fix for 'send' on 2.3
This commit is contained in:
commit
394b82dcec
12 changed files with 12 additions and 10 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
<uses-sdk
|
<uses-sdk
|
||||||
android:minSdkVersion="9"
|
android:minSdkVersion="9"
|
||||||
android:targetSdkVersion="15" />
|
android:targetSdkVersion="17" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS"/>
|
||||||
|
|
@ -22,7 +22,8 @@
|
||||||
android:name=".CommonsApplication"
|
android:name=".CommonsApplication"
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:theme="@style/AppTheme" >
|
android:theme="@style/AppTheme"
|
||||||
|
android:supportsRtl="true" >
|
||||||
<activity android:name="org.acra.CrashReportDialog"
|
<activity android:name="org.acra.CrashReportDialog"
|
||||||
android:theme="@android:style/Theme.Dialog"
|
android:theme="@android:style/Theme.Dialog"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
|
|
|
||||||
|
|
@ -19,16 +19,13 @@
|
||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/r" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/target/generated-sources/r" isTestSource="false" />
|
||||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/classes" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/combined-assets" />
|
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/combined-assets" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/combined-resources" />
|
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/combined-resources" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/extracted-dependencies" />
|
<excludeFolder url="file://$MODULE_DIR$/target/generated-sources/extracted-dependencies" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/idea-classes" />
|
<excludeFolder url="file://$MODULE_DIR$/target/idea-classes" />
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/idea-test-classes" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/maven-archiver" />
|
|
||||||
<excludeFolder url="file://$MODULE_DIR$/target/unpack" />
|
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="jdk" jdkName="Maven Android 4.2.2 Platform" jdkType="Android SDK" />
|
||||||
<orderEntry type="library" name="Maven: org.mediawiki:api:1.3" level="project" />
|
<orderEntry type="library" name="Maven: org.mediawiki:api:1.3" level="project" />
|
||||||
<orderEntry type="library" name="Maven: in.yuvi:http.fluent:1.3" level="project" />
|
<orderEntry type="library" name="Maven: in.yuvi:http.fluent:1.3" level="project" />
|
||||||
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.2.2" level="project" />
|
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.2.2" level="project" />
|
||||||
|
|
@ -41,7 +38,6 @@
|
||||||
<orderEntry type="library" name="Maven: com.nostra13.universalimageloader:universal-image-loader:1.8.2" level="project" />
|
<orderEntry type="library" name="Maven: com.nostra13.universalimageloader:universal-image-loader:1.8.2" level="project" />
|
||||||
<orderEntry type="library" name="Maven: ch.acra:acra:4.4.0" level="project" />
|
<orderEntry type="library" name="Maven: ch.acra:acra:4.4.0" level="project" />
|
||||||
<orderEntry type="library" name="Maven: de.keyboardsurfer.android.widget:crouton:1.7" level="project" />
|
<orderEntry type="library" name="Maven: de.keyboardsurfer.android.widget:crouton:1.7" level="project" />
|
||||||
<orderEntry type="jdk" jdkName="Android 4.0.3 Platform" jdkType="Android SDK" />
|
|
||||||
<orderEntry type="module" module-name="~apklib-com.actionbarsherlock_actionbarsherlock_4.2.0" />
|
<orderEntry type="module" module-name="~apklib-com.actionbarsherlock_actionbarsherlock_4.2.0" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
||||||
|
|
|
||||||
BIN
commons/res/drawable-hdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-hdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.4 KiB |
BIN
commons/res/drawable-ldrtl-hdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-ldrtl-hdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 640 B |
BIN
commons/res/drawable-ldrtl-mdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-ldrtl-mdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 489 B |
BIN
commons/res/drawable-ldrtl-xhdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-ldrtl-xhdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 905 B |
BIN
commons/res/drawable-mdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-mdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
BIN
commons/res/drawable-xhdpi/social_send_now.png
Executable file
BIN
commons/res/drawable-xhdpi/social_send_now.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 KiB |
|
|
@ -7,7 +7,9 @@
|
||||||
android:background="#AA000000"
|
android:background="#AA000000"
|
||||||
android:paddingBottom="8dip"
|
android:paddingBottom="8dip"
|
||||||
android:paddingLeft="16dip"
|
android:paddingLeft="16dip"
|
||||||
|
android:paddingStart="16dip"
|
||||||
android:paddingRight="16dip"
|
android:paddingRight="16dip"
|
||||||
|
android:paddingEnd="16dip"
|
||||||
android:paddingTop="8dip"
|
android:paddingTop="8dip"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
@ -30,7 +32,8 @@
|
||||||
android:indeterminate="true"
|
android:indeterminate="true"
|
||||||
android:indeterminateOnly="true"
|
android:indeterminateOnly="true"
|
||||||
android:layout_marginRight="4dp"
|
android:layout_marginRight="4dp"
|
||||||
android:layout_gravity="center_vertical|right"
|
android:layout_marginEnd="4dp"
|
||||||
|
android:layout_gravity="center_vertical|right|end"
|
||||||
style="?android:progressBarStyleSmall"
|
style="?android:progressBarStyleSmall"
|
||||||
android:visibility="gone"
|
android:visibility="gone"
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,9 @@
|
||||||
android:background="#AA000000"
|
android:background="#AA000000"
|
||||||
android:paddingBottom="8dip"
|
android:paddingBottom="8dip"
|
||||||
android:paddingLeft="16dip"
|
android:paddingLeft="16dip"
|
||||||
|
android:paddingStart="16dip"
|
||||||
android:paddingRight="16dip"
|
android:paddingRight="16dip"
|
||||||
|
android:paddingEnd="16dip"
|
||||||
android:paddingTop="8dip"
|
android:paddingTop="8dip"
|
||||||
>
|
>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
<item android:id="@+id/menu_upload_single"
|
<item android:id="@+id/menu_upload_single"
|
||||||
android:title="@string/menu_upload_single"
|
android:title="@string/menu_upload_single"
|
||||||
android:icon="@android:drawable/ic_menu_send"
|
android:icon="@drawable/social_send_now"
|
||||||
android:enabled="false"
|
android:enabled="false"
|
||||||
android:showAsAction="always" />
|
android:showAsAction="always" />
|
||||||
</menu>
|
</menu>
|
||||||
|
|
|
||||||
2
pom.xml
2
pom.xml
|
|
@ -44,7 +44,7 @@
|
||||||
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
<resourceDirectory>${project.basedir}/res</resourceDirectory>
|
||||||
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
|
<nativeLibrariesDirectory>${project.basedir}/src/main/native</nativeLibrariesDirectory>
|
||||||
<sdk>
|
<sdk>
|
||||||
<platform>15</platform>
|
<platform>17</platform>
|
||||||
</sdk>
|
</sdk>
|
||||||
<undeployBeforeDeploy>true</undeployBeforeDeploy>
|
<undeployBeforeDeploy>true</undeployBeforeDeploy>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue