Permalink
Browse files

Adding source tree

  • Loading branch information...
0 parents commit d58f7bb716894d6548792307ff95ea549ce0bed7 @github-xoriant committed Jul 22, 2011
@@ -0,0 +1,30 @@
+.metadata
+tmp/**
+.DS_Store
+*.tmp
+*.bak
+tmp/**/*
+*.swp
+*~.nib
+Thumbs.db
+Desktop.ini
+*~
+*.jar
+.classpath
+# built application files
+*.apk
+*.ap_
+# files for the dex VM
+*.dex
+# Java class files
+*.class
+# generated files
+bin/
+gen/
+# Local configuration file (sdk path, etc)
+local.properties
+#Eclipse
+.project
+.settings
+*.bak
+
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+ package="xor.com.actpkg"
+ android:versionCode="1"
+ android:versionName="1.0">
+ <uses-sdk android:minSdkVersion="8" />
+
+ <application android:icon="@drawable/icon"
+ android:label="@string/app_name"
+ android:theme="@style/Theme.D1">
+
+ <activity android:name=".HomeActivity"
+ android:theme="@style/Theme.D1"
+ android:label="@string/app_name">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ </intent-filter>
+ </activity>
+
+
+ <activity android:name=".SearchActivity"
+ android:theme="@style/Theme.D1"
+ android:label="@string/title_search"
+ />
+
+ </application>
+</manifest>
@@ -0,0 +1,11 @@
+# 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 use,
+# "build.properties", and override values to adapt the script to your
+# project structure.
+
+# Project target.
+target=android-8
@@ -0,0 +1,36 @@
+-optimizationpasses 5
+-dontusemixedcaseclassnames
+-dontskipnonpubliclibraryclasses
+-dontpreverify
+-verbose
+-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
+
+-keep public class * extends android.app.Activity
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+-keep public class * extends android.content.ContentProvider
+-keep public class * extends android.app.backup.BackupAgentHelper
+-keep public class * extends android.preference.Preference
+-keep public class com.android.vending.licensing.ILicensingService
+
+-keepclasseswithmembernames class * {
+ native <methods>;
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet);
+}
+
+-keepclasseswithmembernames class * {
+ public <init>(android.content.Context, android.util.AttributeSet, int);
+}
+
+-keepclassmembers enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep class * implements android.os.Parcelable {
+ public static final android.os.Parcelable$Creator *;
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/about_alt"/>
+ <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/about_alt"/>
+ <item android:state_focused="true" android:drawable="@drawable/about_alt"/>
+ <item android:state_focused="false" android:state_pressed="false" android:drawable="@drawable/about_def"/>
+</selector>
+
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_focused="true" android:state_pressed="true" android:drawable="@drawable/item_pressed"/>
+ <item android:state_focused="false" android:state_pressed="true" android:drawable="@drawable/item_pressed"/>
+ <item android:state_focused="true" android:drawable="@drawable/item_focused"/>
+ <item android:state_focused="false" android:state_pressed="false" android:drawable="@android:color/transparent"/>
+</selector>
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:scrollbars="vertical"
+ >
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ style="@style/TitleBar"
+ android:layout_width = "fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="left|top">
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width = "wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="left"
+ android_gravity = "left|vertical_center">
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/home_def"
+ android:onClick="onHome"
+ android:layout_marginTop = "5dip"
+ android:layout_marginRight="5dip"
+ android:layout_marginLeft="4dip"
+ android:layout_marginBottom = "4dip"
+ android:paddingBottom = "3dip"
+ android:background="@drawable/home_bg"
+ android:layout_gravity="center"
+ />
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginRight="5dip"/>
+
+ <TextView style="@style/TitleBarText"
+ android:text="Action Bar Sample"
+ android:paddingLeft="8dip"/>
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginLeft="5dip"
+ android:layout_marginRight="7dip"/>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width = "fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right"
+ android:layout_gravity="right">
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/about_click"
+ android:onClick="onAbout"
+ android:layout_marginTop = "6dip"
+ android:layout_marginBottom = "4dip"
+ android:layout_marginLeft="5dip"
+ android:background="@null"
+ android:layout_marginRight="5dip"/>
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginLeft = "5dip"
+ android:layout_marginRight="5dip"
+ />
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/search"
+ android:layout_marginTop = "6dip"
+ android:layout_marginBottom = "4dip"
+ android:onClick="onSearch"
+ android:background="@drawable/home_bg"
+ android:layout_marginRight="5dip"/>
+ </LinearLayout>
+ </LinearLayout>
+
+</LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:scrollbars="vertical"
+ android:background="@drawable/background">
+ <TextView
+ android:id="@+id/welcome"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding= "20dip"
+ android:textSize="12sp"
+ android:textStyle="bold"
+ android:textColor="#ff29549f"
+ android:lineSpacingMultiplier="1.1"
+ android:text ="@string/main_screen" />
+
+ </LinearLayout>
+</LinearLayout>
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:scrollbars="vertical"
+ >
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ style="@style/TitleBar"
+ android:orientation="horizontal"
+ android:layout_width = "fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="left|top">
+
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width = "wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="left|center_vertical"
+ android:layout_gravity="left">
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/home_def"
+ android:background="@drawable/home_bg"
+ android:onClick="onHome"
+ android:layout_marginTop = "5dip"
+ android:layout_marginRight="5dip"
+ android:paddingBottom="3dip"
+ android:layout_marginLeft = "4dip"
+ android:layout_marginBottom = "4dip"
+ android:layout_gravity="center"/>
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginRight="5dip"/>
+
+ <EditText android:id="@+id/input_text"
+ android:layout_height="fill_parent"
+ android:layout_width="180dip"
+ android:layout_marginTop="2dip"
+ android:layout_gravity="center"
+ android:textSize="10sp"
+ android:text = "search here..."
+ android:layout_marginLeft="5dip"
+ android:layout_marginRight="8dip"/>
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginLeft="2dip"/>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="horizontal"
+ android:layout_width = "fill_parent"
+ android:layout_height="wrap_content"
+ android:gravity="right"
+ android:layout_gravity="right">
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/about_click"
+ android:onClick="onAbout"
+ android:layout_marginLeft="3dip"
+ android:layout_marginTop = "6dip"
+ android:background="@null"
+ android:layout_marginRight="3dip"/>
+
+ <ImageView android:layout_width="1px"
+ android:layout_height="fill_parent"
+ android:background="@drawable/separator"
+ android:layout_marginRight="5dip"/>
+
+ <ImageButton style="@style/TitleBarOperation"
+ android:src="@drawable/search"
+ android:onClick="onSearch"
+ android:background="@drawable/home_bg"
+ android:layout_marginTop = "6dip"
+ android:layout_marginLeft="2dip"
+ android:layout_marginRight="2dip"/>
+ </LinearLayout>
+
+ </LinearLayout>
+
+</LinearLayout>
+
+ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:orientation="vertical"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent"
+ android:scrollbars="vertical"
+ android:background="@drawable/background">
+
+ <TextView
+ android:id="@+id/search"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textSize="12sp"
+ android:padding= "20dip"
+ android:textStyle="bold"
+ android:textColor="#ff29549f"
+ android:lineSpacingMultiplier="1.1"
+ android:text ="@string/search_detail" />
+
+ </LinearLayout>
+
+
+</LinearLayout>
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <string name="main_screen">Welcome to ActionBarAppActivity!</string>
+ <string name="app_name">ActionBarApp</string>
+
+ <string name="about_detail">Sample App to display use of Action bar</string>
+
+ <string name="search_detail">Search Results Available</string>
+
+ <string name="title_about">About</string>
+ <string name="title_home">Home</string>
+ <string name="title_search">Search</string>
+
+</resources>
Oops, something went wrong.

0 comments on commit d58f7bb

Please sign in to comment.