├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── values │ │ │ │ ├── strings.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ ├── mipmap-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── icon_app_back_hover.png │ │ │ │ └── icon_app_back_normal.png │ │ │ ├── mipmap-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ │ ├── select_brand_n.png │ │ │ │ ├── icon_app_back_hover.png │ │ │ │ ├── arrow_up_prodcatelist.png │ │ │ │ ├── icon_app_back_normal.png │ │ │ │ └── arrow_down_prodcatelist.png │ │ │ ├── anim │ │ │ │ ├── page_anima_right_in.xml │ │ │ │ └── page_anima_right_out.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── drawable │ │ │ │ ├── selector_app_back.xml │ │ │ │ ├── selector_search_gv_item_tv.xml │ │ │ │ └── selector_frame_gv_item_bg.xml │ │ │ └── layout │ │ │ │ ├── gv_right_sideslip_child_layout.xml │ │ │ │ ├── activity_screening.xml │ │ │ │ ├── item_right_sideslip_child_layout.xml │ │ │ │ ├── item_right_sideslip_lay.xml │ │ │ │ ├── include_right_sideslip_child_layout.xml │ │ │ │ └── include_right_sideslip_layout.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── study │ │ │ │ └── android │ │ │ │ └── androidscreening │ │ │ │ ├── ui │ │ │ │ ├── UiUtils.java │ │ │ │ ├── AutoMeasureHeightGridView.java │ │ │ │ ├── OnClickListenerWrapper.java │ │ │ │ ├── ScreeningActivity.java │ │ │ │ ├── RightSideslipChildLay.java │ │ │ │ └── RightSideslipLay.java │ │ │ │ ├── model │ │ │ │ └── AttrList.java │ │ │ │ └── adapter │ │ │ │ ├── ScreeningListAdapter.java │ │ │ │ ├── SimpleBaseAdapter.java │ │ │ │ ├── RightSideslipLayChildAdapter.java │ │ │ │ └── RightSideslipLayAdapter.java │ │ └── AndroidManifest.xml │ ├── test │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── study │ │ │ └── android │ │ │ └── androidscreen │ │ │ └── ExampleUnitTest.java │ └── androidTest │ │ └── java │ │ └── com │ │ └── example │ │ └── study │ │ └── android │ │ └── androidscreen │ │ └── ExampleInstrumentedTest.java ├── proguard-rules.pro └── build.gradle ├── settings.gradle ├── .idea ├── copyright │ └── profiles_settings.xml ├── dictionaries │ └── songyan.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── .gitignore ├── gradle.properties ├── gradlew.bat └── gradlew /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | AndroidScreen 3 | 4 | -------------------------------------------------------------------------------- /.idea/dictionaries/songyan.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/select_brand_n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/drawable-xhdpi/select_brand_n.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/icon_app_back_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/drawable-xhdpi/icon_app_back_hover.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_app_back_hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-xhdpi/icon_app_back_hover.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/icon_app_back_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/mipmap-xhdpi/icon_app_back_normal.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .externalNativeBuild 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/arrow_up_prodcatelist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/drawable-xhdpi/arrow_up_prodcatelist.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/icon_app_back_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/drawable-xhdpi/icon_app_back_normal.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/arrow_down_prodcatelist.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Songyan992/AndroidScreening/HEAD/app/src/main/res/drawable-xhdpi/arrow_down_prodcatelist.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Mon Dec 28 10:00:20 PST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/res/anim/page_anima_right_in.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/anim/page_anima_right_out.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_app_back.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3F51B5 4 | #303F9F 5 | #FF4081 6 | #B5B5B5 7 | #FFF2EF 8 | #F4F4F4 9 | #666666 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_search_gv_item_tv.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/test/java/com/example/study/android/androidscreen/ExampleUnitTest.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreen; 2 | 3 | import org.junit.Test; 4 | 5 | import static org.junit.Assert.*; 6 | 7 | /** 8 | * Example local unit test, which will execute on the development machine (host). 9 | * 10 | * @see Testing documentation 11 | */ 12 | public class ExampleUnitTest { 13 | @Test 14 | public void addition_isCorrect() throws Exception { 15 | assertEquals(4, 2 + 2); 16 | } 17 | } -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/study/android/androidscreening/ui/UiUtils.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreening.ui; 2 | 3 | import android.content.Context; 4 | 5 | /** 6 | */ 7 | 8 | public class UiUtils { 9 | 10 | /** 11 | * 获取状态栏高度 12 | * 13 | * @param context 14 | * @return 15 | */ 16 | public static int getStatusBarHeight(Context context) { 17 | int resourceId = context.getResources().getIdentifier("status_bar_height", "dimen", "android"); 18 | int height = context.getResources().getDimensionPixelSize(resourceId); 19 | return height; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/selector_frame_gv_item_bg.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /Users/songyan/Library/Android/android-sdk-macosx/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | org.gradle.jvmargs=-Xmx1536m 13 | 14 | # When configured, Gradle will run in incubating parallel mode. 15 | # This option should only be used with decoupled projects. More details, visit 16 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 17 | # org.gradle.parallel=true 18 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/example/study/android/androidscreen/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreen; 2 | 3 | import android.content.Context; 4 | import android.support.test.InstrumentationRegistry; 5 | import android.support.test.runner.AndroidJUnit4; 6 | 7 | import org.junit.Test; 8 | import org.junit.runner.RunWith; 9 | 10 | import static org.junit.Assert.*; 11 | 12 | /** 13 | * Instrumentation test, which will execute on an Android device. 14 | * 15 | * @see Testing documentation 16 | */ 17 | @RunWith(AndroidJUnit4.class) 18 | public class ExampleInstrumentedTest { 19 | @Test 20 | public void useAppContext() throws Exception { 21 | // Context of the app under test. 22 | Context appContext = InstrumentationRegistry.getTargetContext(); 23 | 24 | assertEquals("com.example.study.android.androidscreen", appContext.getPackageName()); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 11 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/study/android/androidscreening/ui/AutoMeasureHeightGridView.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreening.ui; 2 | 3 | import android.content.Context; 4 | import android.util.AttributeSet; 5 | import android.widget.GridView; 6 | 7 | /** 8 | * 描述:可根据item多少,自适应高度的列表 9 | */ 10 | public class AutoMeasureHeightGridView extends GridView { 11 | 12 | public AutoMeasureHeightGridView(Context context) { 13 | super(context); 14 | } 15 | 16 | public AutoMeasureHeightGridView(Context context, AttributeSet attrs) { 17 | super(context, attrs); 18 | } 19 | 20 | public AutoMeasureHeightGridView(Context context, AttributeSet attrs, int defStyle) { 21 | super(context, attrs, defStyle); 22 | } 23 | 24 | @Override 25 | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) { 26 | int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST); 27 | super.onMeasure(widthMeasureSpec, expandSpec); 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 24 5 | buildToolsVersion "24.0.3" 6 | defaultConfig { 7 | applicationId "com.example.study.android.androidscreen" 8 | minSdkVersion 15 9 | targetSdkVersion 24 10 | versionCode 1 11 | versionName "1.0" 12 | testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { 25 | exclude group: 'com.android.support', module: 'support-annotations' 26 | }) 27 | compile 'com.android.support:appcompat-v7:24.2.1' 28 | testCompile 'junit:junit:4.12' 29 | 30 | compile 'com.google.code.gson:gson:2.8.0' 31 | 32 | } 33 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/study/android/androidscreening/ui/OnClickListenerWrapper.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreening.ui; 2 | 3 | import android.view.View; 4 | 5 | /** 6 | * 防止Button的频繁点击,多次执行点击事件 7 | *

8 | * 9 | * @作者:JQ.Hu 10 | * @创建时间:2016/6/1 14:17 11 | */ 12 | public abstract class OnClickListenerWrapper implements View.OnClickListener { 13 | 14 | private static long lastClickTime; 15 | 16 | protected abstract void onSingleClick(View v); 17 | 18 | @Override 19 | public void onClick(View v) { 20 | if (isFastDuplicateClick()) { 21 | return; 22 | } 23 | onSingleClick(v); 24 | } 25 | 26 | /** 27 | * 是否为重复的快速点击 28 | * 29 | * @return 30 | */ 31 | protected boolean isFastDuplicateClick() { 32 | long time = System.currentTimeMillis(); 33 | long timeD = time - lastClickTime; 34 | if (0 < timeD && timeD < 800) { 35 | lastClickTime = time; 36 | return true; 37 | } 38 | return false; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/gv_right_sideslip_child_layout.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_screening.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 22 | 23 | 24 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 23 | 24 | 25 | 26 | 29 | 30 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_right_sideslip_child_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 15 | 16 | 24 | 25 | 32 | 33 | 34 | 35 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/src/main/res/layout/item_right_sideslip_lay.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 16 | 17 | 27 | 28 | 38 | 39 | 40 | 41 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/study/android/androidscreening/ui/ScreeningActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreening.ui; 2 | 3 | import android.os.Build; 4 | import android.support.v4.view.GravityCompat; 5 | import android.support.v4.widget.DrawerLayout; 6 | import android.support.v7.app.AppCompatActivity; 7 | import android.os.Bundle; 8 | import android.view.Gravity; 9 | import android.view.View; 10 | import android.widget.LinearLayout; 11 | import android.widget.TextView; 12 | 13 | import com.example.study.android.androidscreening.R; 14 | 15 | 16 | public class ScreeningActivity extends AppCompatActivity { 17 | 18 | private DrawerLayout drawer; 19 | private LinearLayout navigationView; 20 | private RightSideslipLay menuHeaderView; 21 | private TextView mFrameTv; 22 | 23 | @Override 24 | protected void onCreate(Bundle savedInstanceState) { 25 | super.onCreate(savedInstanceState); 26 | setContentView(R.layout.activity_screening); 27 | 28 | drawer = (DrawerLayout) findViewById(R.id.drawer_layout); 29 | navigationView = (LinearLayout) findViewById(R.id.nav_view); 30 | mFrameTv = (TextView) findViewById(R.id.screenTv); 31 | drawer.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, Gravity.RIGHT); 32 | 33 | menuHeaderView = new RightSideslipLay(ScreeningActivity.this); 34 | navigationView.addView(menuHeaderView); 35 | mFrameTv.setOnClickListener(new OnClickListenerWrapper() { 36 | @Override 37 | protected void onSingleClick(View v) { 38 | openMenu(); 39 | } 40 | }); 41 | menuHeaderView.setCloseMenuCallBack(new RightSideslipLay.CloseMenuCallBack() { 42 | @Override 43 | public void setupCloseMean() { 44 | closeMenu(); 45 | } 46 | }); 47 | 48 | } 49 | 50 | public void closeMenu() { 51 | drawer.closeDrawer(GravityCompat.END); 52 | } 53 | 54 | public void openMenu() { 55 | drawer.openDrawer(GravityCompat.END); 56 | } 57 | 58 | 59 | 60 | } 61 | -------------------------------------------------------------------------------- /app/src/main/res/layout/include_right_sideslip_child_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 20 | 21 | 29 | 30 | 40 | 41 | 42 | 43 | 49 | 50 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | -------------------------------------------------------------------------------- /app/src/main/java/com/example/study/android/androidscreening/model/AttrList.java: -------------------------------------------------------------------------------- 1 | package com.example.study.android.androidscreening.model; 2 | 3 | import java.io.Serializable; 4 | import java.util.List; 5 | 6 | /** 7 | * Created by songyan on 2017/2/5. 8 | */ 9 | 10 | public class AttrList implements Serializable { 11 | 12 | private List attr; 13 | 14 | public List getAttr() { 15 | return attr; 16 | } 17 | 18 | public void setAttr(List attr) { 19 | this.attr = attr; 20 | } 21 | 22 | public static class Attr implements Serializable { 23 | //属性值的title 24 | private String key; 25 | //属性值的title对应的数据 26 | private List vals; 27 | //设置选中的数据 28 | private List SelectVals; 29 | //状态是否打开 30 | private boolean isoPen = false; 31 | private String showStr = ""; 32 | 33 | 34 | public boolean isoPen() { 35 | return isoPen; 36 | } 37 | 38 | public void setIsoPen(boolean isoPen) { 39 | this.isoPen = isoPen; 40 | } 41 | 42 | public List getSelectVals() { 43 | return SelectVals; 44 | } 45 | 46 | public void setSelectVals(List selectVals) { 47 | SelectVals = selectVals; 48 | } 49 | 50 | public String getShowStr() { 51 | return showStr; 52 | } 53 | 54 | public void setShowStr(String showStr) { 55 | this.showStr = showStr; 56 | } 57 | 58 | public List getVals() { 59 | return vals; 60 | } 61 | 62 | public void setVals(List vals) { 63 | this.vals = vals; 64 | } 65 | 66 | public String getKey() { 67 | return key; 68 | } 69 | 70 | public void setKey(String key) { 71 | this.key = key; 72 | } 73 | 74 | 75 | public static class Vals implements Serializable { 76 | private String val; 77 | private boolean isChick; 78 | 79 | public boolean isChick() { 80 | return isChick; 81 | } 82 | 83 | public void setChick(boolean chick) { 84 | isChick = chick; 85 | } 86 | 87 | public String getV() { 88 | return val; 89 | } 90 | 91 | public void setV(String v) { 92 | this.val = v; 93 | } 94 | } 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /app/src/main/res/layout/include_right_sideslip_layout.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 20 | 21 | 29 | 30 | 31 | 32 | 38 | 39 | 40 |