Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .classpath
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="output" path="bin"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
4 changes: 4 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.source=1.6
18 changes: 12 additions & 6 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="net.londatiga.android"
android:versionCode="2" android:versionName="1.01">
package="net.londatiga.android"
android:versionCode="2"
android:versionName="1.01" >

<uses-sdk android:minSdkVersion="7" />

<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".ExampleActivity"
android:label="@string/app_name">
<application
android:icon="@drawable/icon"
android:label="@string/app_name" >
<activity
android:name=".ExampleActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

</application>

</manifest>
Binary file removed bin/NewQuickAction3D.apk
Binary file not shown.
Binary file removed bin/classes.dex
Binary file not shown.
Binary file removed bin/net/londatiga/android/ActionItem.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/PopupWindows$1.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/PopupWindows.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/QuickAction$1.class
Binary file not shown.
Binary file not shown.
Binary file removed bin/net/londatiga/android/QuickAction.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$anim.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$attr.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$drawable.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$id.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$layout.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$string.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R$style.class
Binary file not shown.
Binary file removed bin/net/londatiga/android/R.class
Binary file not shown.
Binary file removed bin/resources.ap_
Binary file not shown.
11 changes: 0 additions & 11 deletions default.properties

This file was deleted.

38 changes: 20 additions & 18 deletions gen/net/londatiga/android/R.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,27 +31,29 @@ public static final class attr {
public static final class drawable {
public static final int action_item_btn=0x7f020000;
public static final int action_item_selected=0x7f020001;
public static final int arrow_down=0x7f020002;
public static final int arrow_up=0x7f020003;
public static final int icon=0x7f020004;
public static final int menu_cancel=0x7f020005;
public static final int menu_down_arrow=0x7f020006;
public static final int menu_eraser=0x7f020007;
public static final int menu_info=0x7f020008;
public static final int menu_ok=0x7f020009;
public static final int menu_search=0x7f02000a;
public static final int menu_up_arrow=0x7f02000b;
public static final int popup=0x7f02000c;
public static final int action_item_selected_test=0x7f020002;
public static final int arrow_down=0x7f020003;
public static final int arrow_up=0x7f020004;
public static final int icon=0x7f020005;
public static final int menu_cancel=0x7f020006;
public static final int menu_down_arrow=0x7f020007;
public static final int menu_eraser=0x7f020008;
public static final int menu_info=0x7f020009;
public static final int menu_ok=0x7f02000a;
public static final int menu_search=0x7f02000b;
public static final int menu_up_arrow=0x7f02000c;
public static final int popup=0x7f02000d;
}
public static final class id {
public static final int arrow_down=0x7f070008;
public static final int arrow_up=0x7f070007;
public static final int btn1=0x7f070002;
public static final int btn2=0x7f070003;
public static final int btn3=0x7f070004;
public static final int arrow_down=0x7f070009;
public static final int arrow_up=0x7f070008;
public static final int btn1=0x7f070003;
public static final int btn2=0x7f070004;
public static final int btn3=0x7f070005;
public static final int iv_icon=0x7f070000;
public static final int scroller=0x7f070005;
public static final int tracks=0x7f070006;
public static final int scroller=0x7f070006;
public static final int separator=0x7f070002;
public static final int tracks=0x7f070007;
public static final int tv_title=0x7f070001;
}
public static final class layout {
Expand Down
14 changes: 14 additions & 0 deletions project.properties
Original file line number Diff line number Diff line change
@@ -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-7
20 changes: 6 additions & 14 deletions res/drawable/action_item_btn.xml
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:dither="true">
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:dither="true">

<item android:drawable="@android:color/transparent" android:state_window_focused="false"/>
<item android:drawable="@drawable/action_item_selected" android:state_pressed="true"/>
<item android:drawable="@drawable/action_item_selected" android:state_focused="true"/>
<item android:drawable="@android:color/transparent"/>

<item
android:state_window_focused="false"
android:drawable="@android:color/transparent" />
<item
android:state_pressed="true"
android:drawable="@drawable/action_item_selected"/>
<item
android:state_focused="true"
android:drawable="@drawable/action_item_selected"/>
<item
android:drawable="@android:color/transparent"/>

</selector>
9 changes: 9 additions & 0 deletions res/drawable/action_item_selected_test.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" android:dither="true">

<item android:drawable="@android:color/transparent" android:state_window_focused="false"/>
<item android:drawable="@android:color/darker_gray" android:state_pressed="true"/>
<item android:drawable="@android:color/white" android:state_focused="true"/>
<item android:drawable="@android:color/transparent"/>

</selector>
Empty file modified res/drawable/arrow_down.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified res/drawable/arrow_up.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 15 additions & 14 deletions res/layout/action_item_horizontal.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/action_item_btn"
android:clickable="true"
android:focusable="true"
android:background="@drawable/action_item_btn">

android:gravity="center_vertical"
android:orientation="horizontal" >

<ImageView
android:id="@+id/iv_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
android:src="@drawable/menu_ok" />

<TextView
<TextView
android:id="@+id/tv_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/iv_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:gravity="center_horizontal"
android:paddingLeft="5dip"
android:paddingRight="5dip"
android:text="Chart"
android:textColor="#fff"/>
</RelativeLayout>
android:textColor="#fff" />

</RelativeLayout>
47 changes: 23 additions & 24 deletions res/layout/action_item_vertical.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:clickable="true"
android:focusable="true"
android:background="@drawable/action_item_btn">

<ImageView
android:id="@+id/iv_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="@drawable/action_item_btn"
android:clickable="true"
android:focusable="true"
android:orientation="horizontal" >

<TextView
android:id="@+id/tv_title"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical"
android:paddingLeft="5dip"
android:paddingRight="10dip"
android:text="Chart"
android:textColor="#fff"/>

</LinearLayout>
<ImageView
android:id="@+id/iv_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />

<TextView
android:id="@+id/tv_title"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="center_vertical"
android:paddingLeft="5dip"
android:paddingRight="10dip"
android:text="Chart"
android:textColor="#fff" />

</LinearLayout>
23 changes: 12 additions & 11 deletions res/layout/horiz_separator.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent">
<TextView android:layout_height="fill_parent"
android:gravity="center"
android:layout_width="2px"
android:text=" "
android:background="#000000"/>
</RelativeLayout>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content" >

<TextView
android:id="@+id/separator"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#000000"
android:gravity="center" />

</RelativeLayout>
27 changes: 12 additions & 15 deletions res/layout/popup_horizontal.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>

<ScrollView
android:layout_height="wrap_content" >

<ScrollView
android:id="@+id/scroller"
android:layout_marginTop="16dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:background="@drawable/popup"
android:fadingEdgeLength="5dip"
android:scrollbars="none">
android:scrollbars="none" >

<LinearLayout
android:id="@+id/tracks"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
android:layout_weight="1"
android:padding="10dip"/>

</ScrollView >
android:orientation="horizontal"
android:padding="10dip" />
</ScrollView>

<ImageView
android:id="@+id/arrow_up"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/arrow_up" />

<ImageView
android:id="@+id/arrow_down"
android:layout_width="wrap_content"
Expand Down
55 changes: 26 additions & 29 deletions res/layout/popup_vertical.xml
Original file line number Diff line number Diff line change
@@ -1,41 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
>

<ScrollView
android:id="@+id/scroller"
android:layout_marginTop="16dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/popup"
android:fadingEdgeLength="5dip"
android:scrollbars="none">

<LinearLayout
android:id="@+id/tracks"
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:padding="10dip"/>

</ScrollView >

<ImageView
android:layout_height="wrap_content" >

<ScrollView
android:id="@+id/scroller"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dip"
android:background="@drawable/popup"
android:fadingEdgeLength="5dip"
android:scrollbars="none" >

<LinearLayout
android:id="@+id/tracks"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:orientation="vertical"
android:padding="10dip" />
</ScrollView>

<ImageView
android:id="@+id/arrow_up"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/arrow_up" />
<ImageView

<ImageView
android:id="@+id/arrow_down"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/scroller"
android:layout_marginTop="-4dip"
android:layout_below="@id/scroller"
android:layout_marginTop="-4dip"
android:src="@drawable/arrow_down" />

</RelativeLayout>
Loading