diff --git a/.classpath b/.classpath index 6c635c0..6aed2eb 100644 --- a/.classpath +++ b/.classpath @@ -3,5 +3,6 @@ + diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6f2b0c6..a7e1b8e 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -7,37 +7,43 @@ ** Author: Lorensius W. L. T ** */ - --> - +--> + - - - - + package="net.londatiga.android" + android:versionCode="1" + android:versionName="1.0" > + + + + + + - - + - - + - - \ No newline at end of file + \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 42d346d..7fd6b98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,4 +13,5 @@ Version 1.0.0 *(2011-10-20)* 7. Updated NewQuickAction3DActivity to show the toast message based on label of action item clicked as you now have enough info in callback to do that generically 3. New listener to handle on dismiss event. 4. Fix force close that occured when tapping randomly on a view to show QuickAction dialog ([issue](https://github.com/lorensiuswlt/NewQuickAction3D/issues/2)). Thanx to [Zammbi](zammbi@gmail.com) for bug fixing.. -5. Add __Apache License, Version 2.0__ to this source code (see LICENSE.txt) \ No newline at end of file +5. Add __Apache License, Version 2.0__ to this source code (see LICENSE.txt) +6. QuickAction was adapted to HD-screens. By Maksim Bartosh diff --git a/README.md b/README.md index f40bf29..15ae060 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,15 @@ NewQuickAction NewQuickAction is a small android library to create QuickAction dialog. +Hi, i fixs bug in shown QuickAction at larges screens. + +QuickAction correctly shown at small screens, her width is width of screen. +And QuickActtion correctly shown at large screen, and her width value is MAX_WIDTH_POPUP_WINDOWS constant. Arrow shown is correctly, too. + +Add constant MAX_WIDTH_POPUP_WINDOWS; +Set min SDK version(API 7, as before) and target SDK version(API 15). + + How to Use ========== This repo includes a sample Activity (__ExampleActivity1.java__) to show how to use QuickAction. @@ -79,6 +88,7 @@ Developed By ============ * Lorensius W. L. T - +* Maksim Bartosh Contributors ============ @@ -105,4 +115,4 @@ License distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. diff --git a/bin/NewQuickAction.apk b/bin/NewQuickAction.apk index 26b1593..022385d 100644 Binary files a/bin/NewQuickAction.apk and b/bin/NewQuickAction.apk differ diff --git a/bin/classes.dex b/bin/classes.dex index a116fe3..1ef9aaf 100644 Binary files a/bin/classes.dex and b/bin/classes.dex differ diff --git a/bin/classes/net/londatiga/android/Example1Activity$1.class b/bin/classes/net/londatiga/android/Example1Activity$1.class index 7870260..5d8d32f 100644 Binary files a/bin/classes/net/londatiga/android/Example1Activity$1.class and b/bin/classes/net/londatiga/android/Example1Activity$1.class differ diff --git a/bin/classes/net/londatiga/android/Example1Activity$2.class b/bin/classes/net/londatiga/android/Example1Activity$2.class index 692e104..59a599a 100644 Binary files a/bin/classes/net/londatiga/android/Example1Activity$2.class and b/bin/classes/net/londatiga/android/Example1Activity$2.class differ diff --git a/bin/classes/net/londatiga/android/Example1Activity$3.class b/bin/classes/net/londatiga/android/Example1Activity$3.class index 22138aa..036095d 100644 Binary files a/bin/classes/net/londatiga/android/Example1Activity$3.class and b/bin/classes/net/londatiga/android/Example1Activity$3.class differ diff --git a/bin/classes/net/londatiga/android/Example1Activity$4.class b/bin/classes/net/londatiga/android/Example1Activity$4.class index fe77212..54f8bad 100644 Binary files a/bin/classes/net/londatiga/android/Example1Activity$4.class and b/bin/classes/net/londatiga/android/Example1Activity$4.class differ diff --git a/bin/classes/net/londatiga/android/Example1Activity.class b/bin/classes/net/londatiga/android/Example1Activity.class index a0fe577..05fe8d0 100644 Binary files a/bin/classes/net/londatiga/android/Example1Activity.class and b/bin/classes/net/londatiga/android/Example1Activity.class differ diff --git a/bin/classes/net/londatiga/android/Example2Activity$3.class b/bin/classes/net/londatiga/android/Example2Activity$3.class index c590c49..bb48c30 100644 Binary files a/bin/classes/net/londatiga/android/Example2Activity$3.class and b/bin/classes/net/londatiga/android/Example2Activity$3.class differ diff --git a/bin/classes/net/londatiga/android/Example2Activity.class b/bin/classes/net/londatiga/android/Example2Activity.class index bc73cb5..2458af1 100644 Binary files a/bin/classes/net/londatiga/android/Example2Activity.class and b/bin/classes/net/londatiga/android/Example2Activity.class differ diff --git a/bin/classes/net/londatiga/android/NewQAAdapter.class b/bin/classes/net/londatiga/android/NewQAAdapter.class index 238844b..8d26c26 100644 Binary files a/bin/classes/net/londatiga/android/NewQAAdapter.class and b/bin/classes/net/londatiga/android/NewQAAdapter.class differ diff --git a/bin/classes/net/londatiga/android/PopupWindows$1.class b/bin/classes/net/londatiga/android/PopupWindows$1.class index d00b122..7cc85bc 100644 Binary files a/bin/classes/net/londatiga/android/PopupWindows$1.class and b/bin/classes/net/londatiga/android/PopupWindows$1.class differ diff --git a/bin/classes/net/londatiga/android/PopupWindows.class b/bin/classes/net/londatiga/android/PopupWindows.class index 9366af8..bffe605 100644 Binary files a/bin/classes/net/londatiga/android/PopupWindows.class and b/bin/classes/net/londatiga/android/PopupWindows.class differ diff --git a/bin/classes/net/londatiga/android/QuickAction$1.class b/bin/classes/net/londatiga/android/QuickAction$1.class index e4aa04c..cd1a28e 100644 Binary files a/bin/classes/net/londatiga/android/QuickAction$1.class and b/bin/classes/net/londatiga/android/QuickAction$1.class differ diff --git a/bin/classes/net/londatiga/android/QuickAction$2$1.class b/bin/classes/net/londatiga/android/QuickAction$2$1.class index bc95127..624055c 100644 Binary files a/bin/classes/net/londatiga/android/QuickAction$2$1.class and b/bin/classes/net/londatiga/android/QuickAction$2$1.class differ diff --git a/bin/classes/net/londatiga/android/QuickAction$2.class b/bin/classes/net/londatiga/android/QuickAction$2.class index 7008ca6..880435e 100644 Binary files a/bin/classes/net/londatiga/android/QuickAction$2.class and b/bin/classes/net/londatiga/android/QuickAction$2.class differ diff --git a/bin/classes/net/londatiga/android/QuickAction.class b/bin/classes/net/londatiga/android/QuickAction.class index 681458d..aaee5f1 100644 Binary files a/bin/classes/net/londatiga/android/QuickAction.class and b/bin/classes/net/londatiga/android/QuickAction.class differ diff --git a/bin/classes/net/londatiga/android/QuickActionActivity.class b/bin/classes/net/londatiga/android/QuickActionActivity.class index c7ba984..83aa42c 100644 Binary files a/bin/classes/net/londatiga/android/QuickActionActivity.class and b/bin/classes/net/londatiga/android/QuickActionActivity.class differ diff --git a/bin/classes/net/londatiga/android/R$drawable.class b/bin/classes/net/londatiga/android/R$drawable.class index 8833713..133bf6e 100644 Binary files a/bin/classes/net/londatiga/android/R$drawable.class and b/bin/classes/net/londatiga/android/R$drawable.class differ diff --git a/bin/classes/net/londatiga/android/R$id.class b/bin/classes/net/londatiga/android/R$id.class index 3a35afb..bfd1c36 100644 Binary files a/bin/classes/net/londatiga/android/R$id.class and b/bin/classes/net/londatiga/android/R$id.class differ diff --git a/bin/classes/net/londatiga/android/R$layout.class b/bin/classes/net/londatiga/android/R$layout.class index 843572f..1018006 100644 Binary files a/bin/classes/net/londatiga/android/R$layout.class and b/bin/classes/net/londatiga/android/R$layout.class differ diff --git a/bin/classes/net/londatiga/android/R$string.class b/bin/classes/net/londatiga/android/R$string.class index 571a47c..9f9f251 100644 Binary files a/bin/classes/net/londatiga/android/R$string.class and b/bin/classes/net/londatiga/android/R$string.class differ diff --git a/bin/classes/net/londatiga/android/R$style.class b/bin/classes/net/londatiga/android/R$style.class index 3d63c24..574110c 100644 Binary files a/bin/classes/net/londatiga/android/R$style.class and b/bin/classes/net/londatiga/android/R$style.class differ diff --git a/bin/resources.ap_ b/bin/resources.ap_ index c546000..c18c3de 100644 Binary files a/bin/resources.ap_ and b/bin/resources.ap_ differ diff --git a/gen/net/londatiga/android/R.java b/gen/net/londatiga/android/R.java index def6e55..ddfb036 100644 --- a/gen/net/londatiga/android/R.java +++ b/gen/net/londatiga/android/R.java @@ -34,33 +34,34 @@ public static final class drawable { public static final int icon=0x7f020005; public static final int quickaction_arrow_down=0x7f020006; public static final int quickaction_arrow_up=0x7f020007; - public static final int quickaction_background=0x7f020008; - public static final int quickaction_bottom_frame=0x7f020009; - public static final int quickaction_slider_background=0x7f02000a; - public static final int quickaction_slider_btn=0x7f02000b; - public static final int quickaction_slider_btn_normal=0x7f02000c; - public static final int quickaction_slider_btn_on=0x7f02000d; - public static final int quickaction_slider_btn_pressed=0x7f02000e; - public static final int quickaction_slider_btn_selected=0x7f02000f; - public static final int quickaction_slider_grip_left=0x7f020010; - public static final int quickaction_slider_grip_right=0x7f020011; - public static final int quickaction_top_frame=0x7f020012; - public static final int quickcontact_drop_shadow=0x7f020013; - public static final int textfield_default=0x7f020014; + public static final int quickaction_bottom_frame=0x7f020008; + public static final int quickaction_slider_background=0x7f020009; + public static final int quickaction_slider_btn=0x7f02000a; + public static final int quickaction_slider_btn_normal=0x7f02000b; + public static final int quickaction_slider_btn_on=0x7f02000c; + public static final int quickaction_slider_btn_pressed=0x7f02000d; + public static final int quickaction_slider_btn_selected=0x7f02000e; + public static final int quickaction_slider_grip_left=0x7f02000f; + public static final int quickaction_slider_grip_right=0x7f020010; + public static final int quickaction_top_frame=0x7f020011; + public static final int quickcontact_drop_shadow=0x7f020012; + public static final int textfield_default=0x7f020013; } public static final class id { - public static final int arrow_down=0x7f07000c; - public static final int arrow_up=0x7f070008; + public static final int arrow_down=0x7f07000e; + public static final int arrow_up=0x7f07000a; public static final int btn1=0x7f070002; - public static final int btn2=0x7f070003; - public static final int footer=0x7f07000b; - public static final int header2=0x7f070007; - public static final int i_more=0x7f070005; + public static final int btn2=0x7f070005; + public static final int btn3=0x7f070003; + public static final int btn4=0x7f070004; + public static final int footer=0x7f07000d; + public static final int header2=0x7f070009; + public static final int i_more=0x7f070007; public static final int iv_icon=0x7f070000; - public static final int l_list=0x7f070004; - public static final int scroll=0x7f070009; - public static final int t_name=0x7f070006; - public static final int tracks=0x7f07000a; + public static final int l_list=0x7f070006; + public static final int scroll=0x7f07000b; + public static final int t_name=0x7f070008; + public static final int tracks=0x7f07000c; public static final int tv_title=0x7f070001; } public static final class layout { diff --git a/project.properties b/project.properties index 5a70945..730e911 100644 --- a/project.properties +++ b/project.properties @@ -8,4 +8,4 @@ # project structure. # Project target. -target=android-7 +target=android-14 diff --git a/res/layout/example1.xml b/res/layout/example1.xml index 09cdffb..469d45c 100644 --- a/res/layout/example1.xml +++ b/res/layout/example1.xml @@ -21,6 +21,24 @@ android:padding="30dp" android:text="Button 1"/> +