diff --git a/AndroidManifest.xml b/AndroidManifest.xml new file mode 100644 index 0000000..28773ad --- /dev/null +++ b/AndroidManifest.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + diff --git a/ic_launcher-web.png b/ic_launcher-web.png new file mode 100644 index 0000000..853c824 Binary files /dev/null and b/ic_launcher-web.png differ diff --git a/libs/android-support-v4.jar b/libs/android-support-v4.jar new file mode 100644 index 0000000..96644ed Binary files /dev/null and b/libs/android-support-v4.jar differ diff --git a/proguard-project.txt b/proguard-project.txt new file mode 100644 index 0000000..f2fe155 --- /dev/null +++ b/proguard-project.txt @@ -0,0 +1,20 @@ +# To enable ProGuard in your project, edit project.properties +# to define the proguard.config property as described in that file. +# +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in ${sdk.dir}/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the ProGuard +# include property in project.properties. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +# If your project uses WebView with JS, uncomment the following +# and specify the fully qualified class name to the JavaScript interface +# class: +#-keepclassmembers class fqcn.of.javascript.interface.for.webview { +# public *; +#} diff --git a/project.properties b/project.properties new file mode 100644 index 0000000..4ab1256 --- /dev/null +++ b/project.properties @@ -0,0 +1,14 @@ +# This file is automatically generated by Android Tools. +# Do not modify this file -- YOUR CHANGES WILL BE ERASED! +# +# This file must be checked in Version Control Systems. +# +# To customize properties used by the Ant build system edit +# "ant.properties", and override values to adapt the script to your +# project structure. +# +# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): +#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt + +# Project target. +target=android-19 diff --git a/res/drawable-hdpi/ic_launcher.png b/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 0000000..f7a042d Binary files /dev/null and b/res/drawable-hdpi/ic_launcher.png differ diff --git a/res/drawable-hdpi/next_button.png b/res/drawable-hdpi/next_button.png new file mode 100644 index 0000000..90751dc Binary files /dev/null and b/res/drawable-hdpi/next_button.png differ diff --git a/res/drawable-hdpi/previous_button.png b/res/drawable-hdpi/previous_button.png new file mode 100644 index 0000000..87f0a95 Binary files /dev/null and b/res/drawable-hdpi/previous_button.png differ diff --git a/res/drawable-hdpi/transparent_button.png b/res/drawable-hdpi/transparent_button.png new file mode 100644 index 0000000..6491405 Binary files /dev/null and b/res/drawable-hdpi/transparent_button.png differ diff --git a/res/drawable-mdpi/ic_launcher.png b/res/drawable-mdpi/ic_launcher.png new file mode 100644 index 0000000..d412a48 Binary files /dev/null and b/res/drawable-mdpi/ic_launcher.png differ diff --git a/res/drawable-mdpi/next_button.png b/res/drawable-mdpi/next_button.png new file mode 100644 index 0000000..5621056 Binary files /dev/null and b/res/drawable-mdpi/next_button.png differ diff --git a/res/drawable-mdpi/previous_button.png b/res/drawable-mdpi/previous_button.png new file mode 100644 index 0000000..9d3dd6f Binary files /dev/null and b/res/drawable-mdpi/previous_button.png differ diff --git a/res/drawable-mdpi/transparent_button.png b/res/drawable-mdpi/transparent_button.png new file mode 100644 index 0000000..2b09411 Binary files /dev/null and b/res/drawable-mdpi/transparent_button.png differ diff --git a/res/drawable-xhdpi/ic_launcher.png b/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 0000000..7e6bd34 Binary files /dev/null and b/res/drawable-xhdpi/ic_launcher.png differ diff --git a/res/drawable-xhdpi/next_button.png b/res/drawable-xhdpi/next_button.png new file mode 100644 index 0000000..e3aa66f Binary files /dev/null and b/res/drawable-xhdpi/next_button.png differ diff --git a/res/drawable-xhdpi/previous_button.png b/res/drawable-xhdpi/previous_button.png new file mode 100644 index 0000000..7670f4a Binary files /dev/null and b/res/drawable-xhdpi/previous_button.png differ diff --git a/res/drawable-xhdpi/transparent_button.png b/res/drawable-xhdpi/transparent_button.png new file mode 100644 index 0000000..73052b0 Binary files /dev/null and b/res/drawable-xhdpi/transparent_button.png differ diff --git a/res/drawable-xxhdpi/ic_launcher.png b/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..1e2cdc1 Binary files /dev/null and b/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/res/drawable-xxhdpi/next_button.png b/res/drawable-xxhdpi/next_button.png new file mode 100644 index 0000000..02b0c25 Binary files /dev/null and b/res/drawable-xxhdpi/next_button.png differ diff --git a/res/drawable-xxhdpi/previous_button.png b/res/drawable-xxhdpi/previous_button.png new file mode 100644 index 0000000..71457d4 Binary files /dev/null and b/res/drawable-xxhdpi/previous_button.png differ diff --git a/res/drawable-xxhdpi/transparent_button.png b/res/drawable-xxhdpi/transparent_button.png new file mode 100644 index 0000000..b309cad Binary files /dev/null and b/res/drawable-xxhdpi/transparent_button.png differ diff --git a/res/drawable-xxxhdpi/ic_launcher.png b/res/drawable-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..e8b053b Binary files /dev/null and b/res/drawable-xxxhdpi/ic_launcher.png differ diff --git a/res/drawable-xxxhdpi/next_button.png b/res/drawable-xxxhdpi/next_button.png new file mode 100644 index 0000000..2913add Binary files /dev/null and b/res/drawable-xxxhdpi/next_button.png differ diff --git a/res/drawable-xxxhdpi/previous_button.png b/res/drawable-xxxhdpi/previous_button.png new file mode 100644 index 0000000..13d198f Binary files /dev/null and b/res/drawable-xxxhdpi/previous_button.png differ diff --git a/res/drawable-xxxhdpi/transparent_button.png b/res/drawable-xxxhdpi/transparent_button.png new file mode 100644 index 0000000..6e6630d Binary files /dev/null and b/res/drawable-xxxhdpi/transparent_button.png differ diff --git a/res/drawable/background.png b/res/drawable/background.png new file mode 100644 index 0000000..9b1ed8a Binary files /dev/null and b/res/drawable/background.png differ diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml new file mode 100644 index 0000000..d548d50 --- /dev/null +++ b/res/layout/activity_main.xml @@ -0,0 +1,35 @@ + + + + + + + + + \ No newline at end of file diff --git a/res/layout/activity_settings.xml b/res/layout/activity_settings.xml new file mode 100644 index 0000000..8df1368 --- /dev/null +++ b/res/layout/activity_settings.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/res/menu/main.xml b/res/menu/main.xml new file mode 100644 index 0000000..c002028 --- /dev/null +++ b/res/menu/main.xml @@ -0,0 +1,9 @@ + + + + + diff --git a/res/values-sw600dp/dimens.xml b/res/values-sw600dp/dimens.xml new file mode 100644 index 0000000..44f01db --- /dev/null +++ b/res/values-sw600dp/dimens.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/res/values-sw720dp-land/dimens.xml b/res/values-sw720dp-land/dimens.xml new file mode 100644 index 0000000..61e3fa8 --- /dev/null +++ b/res/values-sw720dp-land/dimens.xml @@ -0,0 +1,9 @@ + + + + 128dp + + diff --git a/res/values-v11/styles.xml b/res/values-v11/styles.xml new file mode 100644 index 0000000..69e9ad0 --- /dev/null +++ b/res/values-v11/styles.xml @@ -0,0 +1,11 @@ + + + + + + diff --git a/res/values-v14/styles.xml b/res/values-v14/styles.xml new file mode 100644 index 0000000..aa09f00 --- /dev/null +++ b/res/values-v14/styles.xml @@ -0,0 +1,12 @@ + + + + + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml new file mode 100644 index 0000000..55c1e59 --- /dev/null +++ b/res/values/dimens.xml @@ -0,0 +1,7 @@ + + + + 16dp + 16dp + + diff --git a/res/values/strings.xml b/res/values/strings.xml new file mode 100644 index 0000000..8165683 --- /dev/null +++ b/res/values/strings.xml @@ -0,0 +1,7 @@ + + + + Quran Translation Display Client + Podesavanja + + diff --git a/res/values/styles.xml b/res/values/styles.xml new file mode 100644 index 0000000..342a521 --- /dev/null +++ b/res/values/styles.xml @@ -0,0 +1,20 @@ + + + + + + + + + diff --git a/src/com/mhalka/qurantranslationdisplayclient/MainActivity.java b/src/com/mhalka/qurantranslationdisplayclient/MainActivity.java new file mode 100644 index 0000000..ecc0bf6 --- /dev/null +++ b/src/com/mhalka/qurantranslationdisplayclient/MainActivity.java @@ -0,0 +1,55 @@ +package com.mhalka.qurantranslationdisplayclient; + +import android.app.Activity; +import android.os.Bundle; +import android.view.View; +import android.view.View.OnClickListener; +import android.view.View.OnLongClickListener; +import android.widget.ImageButton; +import android.widget.ImageView; +import android.widget.Toast; + +public class MainActivity extends Activity { + private ImageView mHiddenSettings; + private ImageButton mPrevious; + private ImageButton mNext; + + @Override + protected void onCreate(Bundle savedInstanceState) { + super.onCreate(savedInstanceState); + setContentView(R.layout.activity_main); + + mHiddenSettings = (ImageView) findViewById(R.id.btn_settings); + mPrevious = (ImageButton) findViewById(R.id.btn_previous); + mNext = (ImageButton) findViewById(R.id.btn_next); + + mHiddenSettings.setOnLongClickListener(new OnLongClickListener() { + + @Override + public boolean onLongClick(View v) { + // TODO Auto-generated method stub + Toast.makeText(getApplicationContext(), "Aktivirano je skriveno dugme.", + Toast.LENGTH_SHORT).show(); + return false; + } + }); + + mPrevious.setOnClickListener(new OnClickListener() { + + @Override + public void onClick(View v) { + // TODO Auto-generated method stub + + } + }); + + mNext.setOnClickListener(new OnClickListener() { + + @Override + public void onClick(View v) { + // TODO Auto-generated method stub + + } + }); + } +}