Showing preview only (453K chars total). Download the full file or copy to clipboard to get everything.
Repository: 296777513/pedometer
Branch: master
Commit: 820ab8a8d1b4
Files: 156
Total size: 399.2 KB
Directory structure:
gitextract_8szsxa96/
├── .gitignore
├── .idea/
│ ├── codeStyles/
│ │ ├── Project.xml
│ │ └── codeStyleConfig.xml
│ ├── gradle.xml
│ ├── misc.xml
│ ├── runConfigurations.xml
│ └── vcs.xml
├── README.md
├── app/
│ ├── .gitignore
│ ├── build.gradle
│ ├── proguard-rules.pro
│ └── src/
│ ├── androidTest/
│ │ └── java/
│ │ └── com/
│ │ └── knight/
│ │ └── pedometer/
│ │ └── ExampleInstrumentedTest.kt
│ ├── main/
│ │ ├── AndroidManifest.xml
│ │ └── res/
│ │ ├── drawable/
│ │ │ └── ic_launcher_background.xml
│ │ ├── drawable-v24/
│ │ │ └── ic_launcher_foreground.xml
│ │ ├── mipmap-anydpi-v26/
│ │ │ ├── ic_launcher.xml
│ │ │ └── ic_launcher_round.xml
│ │ └── values/
│ │ ├── colors.xml
│ │ ├── strings.xml
│ │ └── styles.xml
│ └── test/
│ └── java/
│ └── com/
│ └── knight/
│ └── pedometer/
│ └── ExampleUnitTest.kt
├── build.gradle
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── pedometer/
│ ├── AndroidManifest.xml
│ ├── README.md
│ ├── assets/
│ │ └── ShareSDK.xml
│ ├── build.gradle
│ ├── gradle/
│ │ └── wrapper/
│ │ ├── gradle-wrapper.jar
│ │ └── gradle-wrapper.properties
│ ├── libs/
│ │ ├── BmobPush_V0.5beta_1027.jar
│ │ ├── BmobSDK_V3.2.7_1209.jar
│ │ ├── ShareSDK-Core-2.3.1.jar
│ │ ├── ShareSDK-QQ-2.3.1.jar
│ │ ├── ShareSDK-SinaWeibo-2.3.1.jar
│ │ ├── ShareSDK-TencentWeibo-2.3.1.jar
│ │ ├── ShareSDK-Wechat-2.3.1.jar
│ │ ├── ShareSDK-Wechat-Core-2.3.1.jar
│ │ ├── ShareSDK-Wechat-Favorite-2.3.1.jar
│ │ ├── android-support-v4.jar
│ │ ├── gson-2.2.4.jar
│ │ └── mframework.jar
│ ├── local.properties
│ ├── proguard-project.txt
│ ├── res/
│ │ ├── anim/
│ │ │ ├── animation_main.xml
│ │ │ ├── slide_bottom_in.xml
│ │ │ ├── slide_left_in.xml
│ │ │ ├── slide_left_out.xml
│ │ │ ├── slide_right_in.xml
│ │ │ ├── slide_right_out.xml
│ │ │ └── slide_top_out.xml
│ │ ├── drawable-hdpi/
│ │ │ ├── barcolor.xml
│ │ │ ├── dlbtn_selector.xml
│ │ │ ├── selector_analysis.xml
│ │ │ ├── selector_back.xml
│ │ │ ├── selector_button.xml
│ │ │ ├── selector_calendar.xml
│ │ │ ├── selector_color.xml
│ │ │ ├── selector_color_set.xml
│ │ │ ├── selector_female.xml
│ │ │ ├── selector_friend.xml
│ │ │ ├── selector_history.xml
│ │ │ ├── selector_image.xml
│ │ │ ├── selector_male.xml
│ │ │ ├── selector_pedometer.xml
│ │ │ ├── selector_pk.xml
│ │ │ ├── selector_set.xml
│ │ │ └── selector_tab.xml
│ │ ├── drawable-ldpi/
│ │ │ └── headpic_bg_frame.xml
│ │ ├── drawable-xhdpi/
│ │ │ ├── common_title_text_background.xml
│ │ │ ├── dialog_backgroud.xml
│ │ │ ├── dialog_left_btn_background.xml
│ │ │ ├── dialog_right_btn_background.xml
│ │ │ └── ssdk_oks_shake_to_share_back.xml
│ │ ├── layout/
│ │ │ ├── activity_set_headpic.xml
│ │ │ ├── analyze.xml
│ │ │ ├── common_title.xml
│ │ │ ├── dialog_layout.xml
│ │ │ ├── group_list.xml
│ │ │ ├── group_member_list.xml
│ │ │ ├── header_layout.xml
│ │ │ ├── history.xml
│ │ │ ├── member_add.xml
│ │ │ ├── member_add_list.xml
│ │ │ ├── member_list.xml
│ │ │ ├── membet_set.xml
│ │ │ ├── page_mian.xml
│ │ │ ├── pedometer.xml
│ │ │ ├── pk.xml
│ │ │ ├── pk_1.xml
│ │ │ ├── pk_2.xml
│ │ │ ├── set.xml
│ │ │ ├── userinfo.xml
│ │ │ └── welcome.xml
│ │ ├── values/
│ │ │ ├── colors.xml
│ │ │ ├── dimens.xml
│ │ │ ├── instapaper_strings.xml
│ │ │ ├── oks_strings.xml
│ │ │ ├── ssdk_strings.xml
│ │ │ ├── strings.xml
│ │ │ └── styles.xml
│ │ ├── values-sw600dp/
│ │ │ └── dimens.xml
│ │ ├── values-sw720dp-land/
│ │ │ └── dimens.xml
│ │ ├── values-v11/
│ │ │ └── styles.xml
│ │ └── values-v14/
│ │ └── styles.xml
│ └── src/
│ └── com/
│ └── bit/
│ └── pedometer/
│ ├── common/
│ │ └── utils/
│ │ ├── BmobUtil.java
│ │ ├── HttpCallbackListener.java
│ │ └── HttpUtil.java
│ ├── data/
│ │ ├── bean/
│ │ │ ├── Group.java
│ │ │ ├── Step.java
│ │ │ ├── User.java
│ │ │ └── Weather.java
│ │ └── db/
│ │ ├── PedometerDB.java
│ │ └── PedometerOpenHelper.java
│ ├── receiver/
│ │ └── AutoSaveReceiver.java
│ ├── service/
│ │ ├── AutoSaveService.java
│ │ ├── MyService.java
│ │ ├── StepDetector.java
│ │ └── StepService.java
│ └── ui/
│ ├── activity/
│ │ ├── BaseActivity.java
│ │ ├── MainActivity.java
│ │ ├── SetToTakePicActivity.java
│ │ └── WelcomeActivity.java
│ ├── fragment/
│ │ ├── FragmentAdapter.java
│ │ ├── FragmentAnalysis.java
│ │ ├── FragmentHistory.java
│ │ ├── FragmentPK.java
│ │ ├── FragmentPedometer.java
│ │ ├── FragmentSet.java
│ │ ├── PK/
│ │ │ ├── FragmentPK_1.java
│ │ │ ├── FragmentPK_2.java
│ │ │ ├── FragmentPK_addmember.java
│ │ │ └── FragmentPK_memberset.java
│ │ ├── onekeyshare/
│ │ │ ├── CustomerLogo.java
│ │ │ ├── EditPage.java
│ │ │ ├── FollowList.java
│ │ │ ├── OnekeyShare.java
│ │ │ ├── PicViewer.java
│ │ │ ├── PlatformGridView.java
│ │ │ ├── ShareContentCustomizeCallback.java
│ │ │ └── ShareCore.java
│ │ └── tools/
│ │ ├── DisplayUtil.java
│ │ ├── ExpandableListViewAdapter.java
│ │ ├── MyAdapter.java
│ │ ├── MyListAdapter.java
│ │ ├── MyNumberPicker.java
│ │ ├── PictureUtil.java
│ │ ├── ReFlashListView.java
│ │ └── ToRoundBitmap.java
│ └── view/
│ ├── CircleBar.java
│ ├── HistogramView.java
│ └── MyDialog.java
└── settings.gradle
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
================================================
FILE: .idea/codeStyles/Project.xml
================================================
<component name="ProjectCodeStyleConfiguration">
<code_scheme name="Project" version="173">
<JetCodeStyleSettings>
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</JetCodeStyleSettings>
<Objective-C-extensions>
<file>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Import" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Macro" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Typedef" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Enum" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Constant" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Global" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Struct" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="FunctionPredecl" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Function" />
</file>
<class>
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Property" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="Synthesize" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InitMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="StaticMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="InstanceMethod" />
<option name="com.jetbrains.cidr.lang.util.OCDeclarationKind" value="DeallocMethod" />
</class>
<extensions>
<pair source="cpp" header="h" fileNamingConvention="NONE" />
<pair source="c" header="h" fileNamingConvention="NONE" />
</extensions>
</Objective-C-extensions>
<codeStyleSettings language="kotlin">
<option name="CODE_STYLE_DEFAULTS" value="KOTLIN_OFFICIAL" />
</codeStyleSettings>
</code_scheme>
</component>
================================================
FILE: .idea/codeStyles/codeStyleConfig.xml
================================================
<component name="ProjectCodeStyleConfiguration">
<state>
<option name="USE_PER_PROJECT_SETTINGS" value="true" />
</state>
</component>
================================================
FILE: .idea/gradle.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/pedometer" />
</set>
</option>
<option name="resolveModulePerSourceSet" value="false" />
</GradleProjectSettings>
</option>
</component>
</project>
================================================
FILE: .idea/misc.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ASMPluginConfiguration">
<asm skipDebug="false" skipFrames="false" skipCode="false" expandFrames="false" />
<groovy codeStyle="LEGACY" />
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>
================================================
FILE: .idea/runConfigurations.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
</set>
</option>
</component>
</project>
================================================
FILE: .idea/vcs.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
<mapping directory="$PROJECT_DIR$/pedometer" vcs="Git" />
</component>
</project>
================================================
FILE: README.md
================================================
这是2015年的写的项目,已经不再维护,功能可能已经失效,后期有时间会用kotlin重写一遍,无参考价值
# pedometer
this is a pedometer demo,I will rewrite with kotlin
================================================
FILE: app/.gitignore
================================================
/build
================================================
FILE: app/build.gradle
================================================
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.knight.pedometer"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
================================================
FILE: app/proguard-rules.pro
================================================
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# 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 *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
================================================
FILE: app/src/androidTest/java/com/knight/pedometer/ExampleInstrumentedTest.kt
================================================
package com.knight.pedometer
import android.support.test.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getTargetContext()
assertEquals("com.knight.pedometer", appContext.packageName)
}
}
================================================
FILE: app/src/main/AndroidManifest.xml
================================================
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.knight.pedometer">
<application android:allowBackup="true"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme"/>
</manifest>
================================================
FILE: app/src/main/res/drawable/ic_launcher_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<vector
xmlns:android="http://schemas.android.com/apk/res/android"
android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path android:fillColor="#008577"
android:pathData="M0,0h108v108h-108z"/>
<path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,0L29,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,0L79,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,29L108,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,79L108,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,49L89,49"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M39,19L39,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
</vector>
================================================
FILE: app/src/main/res/drawable-v24/ic_launcher_foreground.xml
================================================
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportHeight="108"
android:viewportWidth="108">
<path
android:fillType="evenOdd"
android:pathData="M32,64C32,64 38.39,52.99 44.13,50.95C51.37,48.37 70.14,49.57 70.14,49.57L108.26,87.69L108,109.01L75.97,107.97L32,64Z"
android:strokeColor="#00000000"
android:strokeWidth="1">
<aapt:attr name="android:fillColor">
<gradient
android:endX="78.5885"
android:endY="90.9159"
android:startX="48.7653"
android:startY="61.0927"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0"/>
<item
android:color="#00000000"
android:offset="1.0"/>
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M66.94,46.02L66.94,46.02C72.44,50.07 76,56.61 76,64L32,64C32,56.61 35.56,50.11 40.98,46.06L36.18,41.19C35.45,40.45 35.45,39.3 36.18,38.56C36.91,37.81 38.05,37.81 38.78,38.56L44.25,44.05C47.18,42.57 50.48,41.71 54,41.71C57.48,41.71 60.78,42.57 63.68,44.05L69.11,38.56C69.84,37.81 70.98,37.81 71.71,38.56C72.44,39.3 72.44,40.45 71.71,41.19L66.94,46.02ZM62.94,56.92C64.08,56.92 65,56.01 65,54.88C65,53.76 64.08,52.85 62.94,52.85C61.8,52.85 60.88,53.76 60.88,54.88C60.88,56.01 61.8,56.92 62.94,56.92ZM45.06,56.92C46.2,56.92 47.13,56.01 47.13,54.88C47.13,53.76 46.2,52.85 45.06,52.85C43.92,52.85 43,53.76 43,54.88C43,56.01 43.92,56.92 45.06,56.92Z"
android:strokeColor="#00000000"
android:strokeWidth="1"/>
</vector>
================================================
FILE: app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
================================================
FILE: app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
================================================
FILE: app/src/main/res/values/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#008577</color>
<color name="colorPrimaryDark">#00574B</color>
<color name="colorAccent">#D81B60</color>
</resources>
================================================
FILE: app/src/main/res/values/strings.xml
================================================
<resources>
<string name="app_name">Pedometer</string>
</resources>
================================================
FILE: app/src/main/res/values/styles.xml
================================================
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
</resources>
================================================
FILE: app/src/test/java/com/knight/pedometer/ExampleUnitTest.kt
================================================
package com.knight.pedometer
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}
================================================
FILE: build.gradle
================================================
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.11'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.0-rc03'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
================================================
FILE: gradle/wrapper/gradle-wrapper.properties
================================================
#Mon Dec 31 12:40:30 CST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
================================================
FILE: gradle.properties
================================================
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx1536m
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
================================================
FILE: gradlew
================================================
#!/usr/bin/env sh
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS=""
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
================================================
FILE: gradlew.bat
================================================
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS=
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
================================================
FILE: pedometer/AndroidManifest.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.bit.pedometer">
<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.GET_TASKS"/>
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE"/>
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
<uses-permission android:name="android.permission.GET_ACCOUNTS"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.READ_LOGS"/>
<application
android:allowBackup="true"
android:icon="@drawable/pedometer"
android:label="@string/app_name"
android:theme="@android:style/Theme.Holo.Light.NoActionBar">
<activity
android:name=".ui.activity.WelcomeActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.NoTitleBar.Fullscreen">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name=".ui.fragment.PK.FragmentPK_memberset"
android:screenOrientation="portrait"/>
<activity
android:name=".ui.activity.MainActivity"
android:screenOrientation="portrait"/>
<activity
android:name=".ui.fragment.PK.FragmentPK_addmember"
android:screenOrientation="portrait"/>
<activity
android:name=".ui.activity.SetToTakePicActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar"/>
<!-- 这是进行授权页面的注册 -->
<activity
android:name="cn.sharesdk.framework.ShareSDKUIShell"
android:configChanges="keyboardHidden|orientation"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Translucent.NoTitleBar"
android:windowSoftInputMode="stateHidden|adjustResize"/>
<service android:name="com.bit.pedometer.service.StepService"></service>
<service android:name="com.bit.pedometer.service.AutoSaveService"></service>
<receiver android:name="com.bit.pedometer.receiver.AutoSaveReceiver">
<intent-filter>
<action android:name="android.intent.action.DATE_CHANGED"/>
<!-- android.intent.action.DATE_CHANGED -->
</intent-filter>
</receiver>
</application>
</manifest>
================================================
FILE: pedometer/README.md
================================================
# 前言
之前一直没有写简介,比较简陋,现在简单介绍一些这个项目,这个计步器的主要实现是基于手机的加速度感应器实现的,不是根据GPS实现的。
# 记步
经过两个月的努力,终于把计步器APP初步完成,已经可以正常使用,话不多说,首先上几张APP正常运行的图片:
首先这是计步器(Pedometer)主页面——记步页面

点击中间部分,可以更换显示的数据,分别有步数,消耗的卡路里以及当前的天气情况。下面是分别几个界面:


还可以分享到相应设社交平台上

大家可以清晰的看到,图中的圆圈是一个ProgressBar(进度条),随着圈内的数值的增加,ProgressBar也在动态的增加。
首先进入页面的是显示步数,点击圆圈会显示消耗的卡路里,再次点击圆圈会显示当天的天气情况(现在仅仅是北京的天气),最后点击左上方的图标,是一个分享的按钮。
这个重新定义的ProgressBar当初画了好几天,才做成的。
# 历史
点击左侧的历史页面,会进入近期步数的记录页面,这里对数据进行本地化存储。


大家可以看到这个是历史页面,也就是记录每一天的所走的步数,点击左上角的日历的图标,会出现一个Dialog来显示日期,选择日期。
这个页面的步数,使用了动画,数字动态的从0到当天的步数,在2秒内完成。
# 分析
正如大家所见,这个页面是一个条形统计的页面,记录最近一周,每天的步数,更加直观的看到7天内的步数。此页面底部的星期,是可以动态变化的,开头总是当天的星期。这个柱状图可以动态的,当打开这个页面后,柱状图从底部上升到它所对应的数值(在1秒内完成),而且点击各个柱状图都能显示这个柱状图所代表的步数。


# 个人信息设置
这个页面主要是设置一些个人信息,例如头像,姓名,年龄等基本情况,也可以对计步器的灵敏度进行调节。

如图所示,大家应该都很清楚了,但是还是容小弟介绍一下,这里我把图片进行处理,设置成圆形的(更加美观)。点击头像可以选择:拍照或者相册。
# pk
这是最后一个页面——PK页面,这个页面由于考虑到有服务器和数据的交互,也是特别难实现。由于这个项目是我一个人独自完成,其他两个人不太会,所以后台的服务器我就使用了第三方的API(Bmob)。
第一张图是多人的PK,依次排名显示,单击每个人头像就会显示此人的详细信息(可以删除此人,图2所示)。向左滑动页面,进入分组PK页面,这里所有的人都分好组,然后点击小组下的人,可以进入图4的页面,此页面主要就是对这个成员进行分组调整。回到PK页面,点击右上角的小人标志,就可以连接服务器,添加好友。





# 总结
这个项目,可以作为入门的新手练手。因为很久之前的写的,本地的操作都可以正常运行,但是网络会出现一些问题,使用的第三方的后台。
================================================
FILE: pedometer/assets/ShareSDK.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<DevInfor>
<!--
说明:
1、表格中的第一项
<ShareSDK
AppKey="api20" />
是必须的,其中的AppKey是您在ShareSDK上注册的开发者帐号的AppKey
2、所有集成到您项目的平台都应该为其在表格中填写相对应的开发者信息,以新浪微博为例:
<SinaWeibo
Id="1"
SortId="1"
AppKey="568898243"
AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"
RedirectUrl="http://www.sharesdk.cn"
Enable="true" />
其中的SortId是此平台在分享列表中的位置,由开发者自行定义,可以是任何整型数字,数值越大
越靠后AppKey、AppSecret和RedirectUrl是您在新浪微博上注册开发者信息和应用后得到的信息
Id是一个保留的识别符,整型,ShareSDK不使用此字段,供您在自己的项目中当作平台的识别符。
Enable字段表示此平台是否有效,布尔值,默认为true,如果Enable为false,即便平台的jar包
已经添加到应用中,平台实例依然不可获取。
各个平台注册应用信息的地址如下:
新浪微博 http://open.weibo.com
腾讯微博 http://dev.t.qq.com
<a href="http://www.it165.net/qq/qqkj/" target="_blank" class="keylink">QQ空间</a> http://connect.<a href="http://www.it165.net/qq/" target="_blank" class="keylink">qq</a>.com/intro/login/
微信好友 http://open.weixin.<a href="http://www.it165.net/qq/" target="_blank" class="keylink">qq</a>.com
Facebook https://developers.facebook.com
Twitter https://dev.twitter.com
人人网 http://dev.renren.com
开心网 http://open.kaixin001.com
搜狐微博 http://open.t.sohu.com
网易微博 http://open.t.163.com
豆瓣 http://developers.douban.com
有道云笔记 http://note.youdao.com/open/developguide.html#app
印象笔记 https://dev.evernote.com/
Linkedin https://www.linkedin.com/secure/developer?newapp=
FourSquare https://developer.foursquare.com/
搜狐随身看 https://open.sohu.com/
Flickr http://www.flickr.com/services/
Pinterest http://developers.pinterest.com/
Tumblr http://www.tumblr.com/developers
Dropbox https://www.dropbox.com/developers
Instagram http://instagram.com/developer#
VKontakte http://vk.com/dev
-->
<ShareSDK AppKey="45439ffb6ebd" /> <!-- 修改成你在sharesdk后台注册的应用的appkey" -->
<!--
<SinaWeibo
AppKey="4065259259"
AppSecret="7709375de14e53328badc16ca5f95e98"
Enable="true"
Id="1"
RedirectUrl="http://open.weibo.com/apps/568898243/privilege/oauth"
SortId="1" />-->
<SinaWeibo
Id="1"
SortId="1"
AppKey="568898243"
AppSecret="38a4f8204cc784f81f9f0daaf31e02e3"
RedirectUrl="http://www.sharesdk.cn"
Enable="true" />
<TencentWeibo
Id="2"
SortId="2"
AppKey="801307650"
AppSecret="ae36f4ee3946e1cbb98d6965b0b2ff5c"
RedirectUri="http://sharesdk.cn"
Enable="true" />
<QZone
Id="3"
SortId="3"
AppId="100371282"
AppKey="aed9b0303e3ed1e27bae87c33761161d"
Enable="true" />
<Wechat
Id="4"
SortId="4"
AppId="wx4868b35061f87885"
Enable="true" />
<WechatMoments
Id="5"
SortId="5"
AppId="wx4868b35061f87885"
Enable="true" />
<WechatFavorite
Id="6"
SortId="6"
AppId="wx4868b35061f87885"
Enable="true" />
</DevInfor>
================================================
FILE: pedometer/build.gradle
================================================
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
defaultConfig {
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
multiDexEnabled true
}
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
}
dependencies {
compile fileTree(dir: 'libs', include: '*.jar')
}
}
================================================
FILE: pedometer/gradle/wrapper/gradle-wrapper.properties
================================================
#Wed Apr 10 15:27:10 PDT 2013
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=http\://services.gradle.org/distributions/gradle-1.6-bin.zip
================================================
FILE: pedometer/local.properties
================================================
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Mon Dec 31 12:38:02 CST 2018
sdk.dir=/Users/knight/Library/Android/sdk
================================================
FILE: pedometer/proguard-project.txt
================================================
# 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 *;
#}
================================================
FILE: pedometer/res/anim/animation_main.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<alpha
android:duration="5000"
android:fromAlpha="0"
android:toAlpha="1.0" />
<scale
android:duration="2000"
android:fromXScale="0.5"
android:fromYScale="0.5"
android:pivotX="50%"
android:pivotY="50%"
android:toXScale="1"
android:toYScale="1" />
</set>
================================================
FILE: pedometer/res/anim/slide_bottom_in.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="500"
android:fromYDelta="100%p"
android:toYDelta="0" />
</set>
================================================
FILE: pedometer/res/anim/slide_left_in.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="300"
android:fromXDelta="100%p"
android:toXDelta="0" />
</set>
================================================
FILE: pedometer/res/anim/slide_left_out.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="300"
android:fromXDelta="0"
android:toXDelta="-100%p" />
</set>
================================================
FILE: pedometer/res/anim/slide_right_in.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="300"
android:fromXDelta="-100%p"
android:toXDelta="0" />
</set>
================================================
FILE: pedometer/res/anim/slide_right_out.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<translate
android:duration="300"
android:fromXDelta="0"
android:toXDelta="100%p" />
</set>
================================================
FILE: pedometer/res/anim/slide_top_out.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- <translate
android:duration="1000"
android:fromYDelta="-100%p"
android:toYDelta="-100%p" /> -->
<alpha
android:fromAlpha="1.0"
android:duration="5000"
android:toAlpha="1.0" />
</set>
================================================
FILE: pedometer/res/drawable-hdpi/barcolor.xml
================================================
<?xml version="1.0" encoding="UTF-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 设置背景色 -->
<item android:id="@android:id/background" >
<shape>
<corners android:radius="3dip" />
<gradient android:startColor="#d3d7d4"
android:endColor="#d3d7d4" />
</shape>
</item>
<!-- 设置进度条颜色 -->
<item android:id="@android:id/progress" >
<clip>
<shape>
<corners android:radius="3dip" />
<gradient android:startColor="#6DCAEC"
android:endColor="#6DCAEC" />
</shape>
</clip>
</item>
</layer-list>
================================================
FILE: pedometer/res/drawable-hdpi/dlbtn_selector.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/button_bg_green2_pressed" android:state_focused="true"/>
<item android:drawable="@drawable/button_bg_green2_pressed" android:state_selected="true"/>
<item android:drawable="@drawable/button_bg_green2_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/button_bg_green2_normal"/>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_analysis.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/main_analysis" android:state_checked="false"></item>
<item android:drawable="@drawable/main_analysis_selected" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_back.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/back" android:state_pressed="false"></item>
<item android:drawable="@drawable/back_pressed" android:state_pressed="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_button.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/button_pressed" android:state_selected="true"/>
<item android:drawable="@drawable/button_pressed" android:state_pressed="true"/>
<item android:drawable="@drawable/button"/>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_calendar.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/title_history" android:state_pressed="false"></item>
<item android:drawable="@drawable/title_history_pressed" android:state_pressed="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_color.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- 默认时的图片 -->
<item android:color ="#000000" android:state_checked="false" />
<!-- 选择时的图片 -->
<item android:color="#6DCAEC" android:state_checked="true"/>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_color_set.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- 默认时的图片 -->
<item android:color ="#6DCAEC" android:state_checked="false"/>
<!-- 选择时的图片 -->
<item android:color="#fffffb" android:state_checked="true"/>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_female.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/female" android:state_checked="false"></item>
<item android:drawable="@drawable/female1" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_friend.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/friend" android:state_pressed="false"></item>
<item android:drawable="@drawable/friends" android:state_pressed="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_history.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/main_history" android:state_checked="false"></item>
<item android:drawable="@drawable/main_history_selected" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_image.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<!-- 默认时的图片 -->
<item android:drawable="@drawable/title_pedometer" android:state_pressed="false"/>
<!-- 选择时的图片 -->
<item android:drawable="@drawable/title_pedometer_pressed" android:state_pressed="true"/>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_male.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/male" android:state_checked="false"></item>
<item android:drawable="@drawable/male1" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_pedometer.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/main_pedometer" android:state_checked="false"></item>
<item android:drawable="@drawable/main_pedometer_selected" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_pk.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item android:drawable="@drawable/main_pk" android:state_checked="false"></item>
<item android:drawable="@drawable/main_pk_selected" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_set.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@drawable/main_set" android:state_checked="false"></item>
<item android:drawable="@drawable/main_set_selected" android:state_checked="true"></item>
</selector>
================================================
FILE: pedometer/res/drawable-hdpi/selector_tab.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- 默认时的图片 -->
<item android:drawable="@android:color/transparent" android:state_checked="false"/>
<!-- 选择时的图片 -->
<item android:drawable="@color/tab_selected_bg" android:state_checked="true"/>
</selector>
================================================
FILE: pedometer/res/drawable-ldpi/headpic_bg_frame.xml
================================================
<?xml version="1.0" encoding="UTF-8"?><!-- 半透明圆角背景 -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="#4033b5e5" />
<stroke
android:width="1dp"
android:color="#33b5e5" />
<corners android:radius="5.0dip" />
</shape>
================================================
FILE: pedometer/res/drawable-xhdpi/common_title_text_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:color="@color/white" android:state_checked="true"></item>
<item android:color="@color/color_c5c5c5" android:state_checked="false"></item>
</selector>
================================================
FILE: pedometer/res/drawable-xhdpi/dialog_backgroud.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/white"/>
<corners android:radius="5.0dip"/>
</shape>
================================================
FILE: pedometer/res/drawable-xhdpi/dialog_left_btn_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape android:shape="rectangle">
<solid android:color="@color/white"/>
<corners android:bottomLeftRadius="5.0dip"/>
</shape>
</item>
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="@color/color_e7e7e7"/>
<corners android:bottomLeftRadius="5.0dip"/>
</shape>
</item>
</selector>
================================================
FILE: pedometer/res/drawable-xhdpi/dialog_right_btn_background.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="false">
<shape android:shape="rectangle">
<solid android:color="@color/white"/>
<corners android:bottomRightRadius="5.0dip"/>
</shape>
</item>
<item android:state_pressed="true">
<shape android:shape="rectangle">
<solid android:color="@color/color_e7e7e7"/>
<corners android:bottomRightRadius="5.0dip"/>
</shape>
</item>
</selector>
================================================
FILE: pedometer/res/drawable-xhdpi/ssdk_oks_shake_to_share_back.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<padding
android:left="10dp"
android:top="10dp"
android:right="10dp"
android:bottom="10dp" />
<gradient
android:angle="90"
android:endColor="#7f000000"
android:startColor="#7f000000" />
<corners
android:bottomLeftRadius="12dp"
android:bottomRightRadius="12dp"
android:topLeftRadius="12dp"
android:topRightRadius="12dp" />
<stroke
android:width="4dip"
android:color="#ff7f7f7f" />
</shape>
================================================
FILE: pedometer/res/layout/activity_set_headpic.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="#00ffffff">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_alignParentBottom="true"
android:background="#ffffff"
android:orientation="vertical">
<Button
android:id="@+id/btn_take_pictures"
android:text="拍照"
android:textSize="25sp"
android:textColor="#000000"
android:layout_width="match_parent"
android:layout_height="95dp"
android:background="#ffffff"
android:layout_marginLeft="40dp"
android:layout_marginRight="40dp" />
<TextView
android:id="@+id/layout_1"
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#33b5e5"
android:layout_below="@+id/btn_take_pictures" />
<Button
android:id="@+id/btn_from_album"
android:text="从手机相册选择"
android:textSize="25sp"
android:textColor="#000000"
android:layout_width="match_parent"
android:layout_height="95dp"
android:layout_marginLeft="40dp"
android:background="#ffffff"
android:layout_marginRight="40dp"
android:layout_below="@+id/layout_1" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#33b5e5"
android:layout_below="@+id/btn_from_album" />
<Button
android:id="@+id/btn_cancel"
android:text="退出"
android:textSize="25sp"
android:textColor="#ffffff"
android:background="#33b5e5"
android:layout_alignParentBottom="true"
android:layout_width="match_parent"
android:layout_height="60dp" />
</RelativeLayout>
</RelativeLayout>
================================================
FILE: pedometer/res/layout/analyze.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal" >
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name" />
<TextView
android:id="@+id/analysis"
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="@string/analysis"
android:textColor="#6DCAEC"
android:textSize="20sp" />
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:orientation="horizontal" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/sumstep"
android:textSize="20sp" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/averagestep"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<TextView
android:id="@+id/sum_step"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/_0"
android:textColor="#6DCAEC"
android:textSize="30sp"
android:typeface="normal" />
<TextView
android:id="@+id/average_step"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/_0"
android:textColor="#6DCAEC"
android:textSize="30sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="10"
android:orientation="horizontal" >
<com.bit.pedometer.ui.view.HistogramView
android:id="@+id/histograms"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/common_title.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<RelativeLayout
android:id="@+id/title_layout"
android:layout_width="match_parent"
android:layout_height="@dimen/common_title_height"
android:background="@color/color_5d6265">
<LinearLayout
android:id="@+id/left_title_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="15dp"
android:paddingRight="15dp">
<ImageView
android:id="@+id/left_title_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/btn_back"
android:textColor="#ffffff"
android:visibility="gone" />
<TextView
android:id="@+id/left_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/item_distance"
android:text="退出"
android:textColor="#ffffff"
android:textSize="@dimen/font_size_middle"
android:visibility="gone" />
</LinearLayout>
<TextView
android:id="@+id/center_title"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:layout_centerVertical="true"
android:ellipsize="end"
android:gravity="center"
android:maxEms="8"
android:text="TITLE"
android:textColor="#ffffff"
android:textSize="@dimen/font_size_large" />
<RelativeLayout
android:id="@+id/title_two_button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:visibility="gone">
<RadioGroup
android:id="@+id/title_radiogroup"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_centerInParent="true"
android:orientation="horizontal">
<RadioButton
android:id="@+id/title_first_button"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginRight="@dimen/dimen_5dp"
android:layout_weight="1"
android:button="@null"
android:checked="true"
android:gravity="center"
android:paddingLeft="@dimen/dimen_10dp"
android:paddingRight="@dimen/dimen_10dp"
android:singleLine="true"
android:text="我发布的"
android:textColor="@drawable/common_title_text_background"
android:textSize="@dimen/font_size_small"
android:visibility="gone" />
<RadioButton
android:id="@+id/title_left_button"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dimen_5dp"
android:layout_marginRight="@dimen/dimen_5dp"
android:layout_weight="1"
android:button="@null"
android:checked="true"
android:gravity="center"
android:paddingLeft="@dimen/dimen_10dp"
android:paddingRight="@dimen/dimen_10dp"
android:singleLine="true"
android:text="寻找孩子"
android:textColor="@drawable/common_title_text_background"
android:textSize="@dimen/font_size_small" />
<RadioButton
android:id="@+id/title_right_button"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dimen_5dp"
android:button="@null"
android:gravity="center"
android:paddingLeft="@dimen/dimen_10dp"
android:paddingRight="@dimen/dimen_10dp"
android:singleLine="true"
android:text="孩子找家"
android:textColor="@drawable/common_title_text_background"
android:textSize="@dimen/font_size_small" />
</RadioGroup>
<LinearLayout
android:id="@+id/line_layout"
android:layout_width="wrap_content"
android:layout_height="@dimen/dimen_3dp"
android:layout_alignLeft="@+id/title_radiogroup"
android:layout_alignParentBottom="true"
android:layout_alignRight="@+id/title_radiogroup"
android:orientation="horizontal">
<View
android:id="@+id/title_first_line"
android:layout_width="@dimen/dimen_0dp"
android:layout_height="match_parent"
android:layout_marginRight="@dimen/dimen_5dp"
android:layout_weight="1"
android:background="#f98425"
android:visibility="gone"/>
<View
android:id="@+id/title_left_line"
android:layout_width="@dimen/dimen_0dp"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dimen_5dp"
android:layout_marginRight="@dimen/dimen_5dp"
android:layout_weight="1"
android:background="#f98425" />
<View
android:id="@+id/title_right_line"
android:layout_width="@dimen/dimen_0dp"
android:layout_height="match_parent"
android:layout_marginLeft="@dimen/dimen_5dp"
android:layout_weight="1"
android:background="#f98425"
android:visibility="invisible"/>
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/right_title_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="15dp"
android:paddingRight="15dp">
<TextView
android:id="@+id/right_title_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="#ffffff"
android:textSize="@dimen/font_size_middle"
android:visibility="gone" />
<ImageView
android:id="@+id/right_title_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/item_distance"
android:visibility="gone" />
</LinearLayout>
<LinearLayout
android:id="@+id/right_second_title_layout"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_toLeftOf="@id/right_title_layout"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="15dp"
android:paddingRight="5dp">
<ImageView
android:id="@+id/right_second_title_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/item_distance"
android:visibility="gone" />
</LinearLayout>
</RelativeLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/dialog_layout.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="287dp"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_centerVertical="true"
android:background="@drawable/dialog_backgroud">
<TextView
android:id="@+id/dialog_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dimen_17dp"
android:text="提示"
android:textColor="@color/text_color"
android:textSize="@dimen/font_size_small"/>
<TextView
android:id="@+id/dialog_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/dialog_title"
android:layout_centerHorizontal="true"
android:layout_marginTop="@dimen/dimen_14dp"
android:gravity="center"
android:text="提示"
android:textColor="@color/text_color"
android:textSize="@dimen/font_size_small"/>
<TextView
android:id="@+id/dialog_divorce_horizon_line"
android:layout_width="match_parent"
android:layout_height="1px"
android:layout_below="@+id/dialog_content"
android:layout_marginLeft="@dimen/dimen_5dp"
android:layout_marginRight="@dimen/dimen_5dp"
android:layout_marginTop="@dimen/dimen_17dp"
android:background="@color/color_858e99"/>
<TextView
android:id="@+id/dialog_cancel"
android:layout_width="143dp"
android:layout_height="44dp"
android:layout_below="@id/dialog_divorce_horizon_line"
android:background="@drawable/dialog_left_btn_background"
android:gravity="center"
android:text="取消"
android:textColor="@color/blue"
android:textSize="@dimen/font_size_middle"/>
<TextView
android:id="@+id/dialog_divorce_vertical_line"
android:layout_width="1px"
android:layout_height="38dp"
android:layout_below="@id/dialog_divorce_horizon_line"
android:layout_marginBottom="@dimen/dimen_3dp"
android:layout_marginTop="@dimen/dimen_3dp"
android:layout_toRightOf="@+id/dialog_cancel"
android:background="@color/color_858e99"
android:gravity="center"
/>
<TextView
android:id="@+id/dialog_sure"
android:layout_width="143dp"
android:layout_height="44dp"
android:layout_below="@id/dialog_divorce_horizon_line"
android:layout_toRightOf="@+id/dialog_divorce_vertical_line"
android:background="@drawable/dialog_right_btn_background"
android:gravity="center"
android:text="确定"
android:textColor="@color/blue"
android:textSize="@dimen/font_size_middle"/>
</RelativeLayout>
================================================
FILE: pedometer/res/layout/group_list.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="20dp"
android:paddingRight="10dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/_00"
android:textColor="#000000"
android:textSize="15sp" />
<TextView
android:id="@+id/group_number"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="4"
android:singleLine="true"
android:gravity="center"
android:text="demo"
android:textColor="@android:color/holo_blue_light"
android:textSize="30sp"
android:textStyle="bold" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/_01"
android:textColor="#000000"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="right|center"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="@string/average_steps"
android:textColor="#000000"
android:textSize="15sp" />
<TextView
android:id="@+id/average_number"
android:layout_weight="2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="demo"
android:textColor="@android:color/holo_blue_light"
android:textSize="30sp"
android:textStyle="bold"
android:singleLine="true"/>
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/group_member_list.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
android:background="#E0EEEE">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal"
android:paddingLeft="20dp">
<ImageView
android:id="@+id/group_member_pic"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_weight="2"
android:contentDescription="@string/_0"/>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_weight="3"
android:orientation="horizontal"
>
<TextView
android:id="@+id/group_member_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="demo"
android:gravity="left|center"
android:layout_gravity="center"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp"
android:textStyle="bold"
android:singleLine="true" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="60dp"
android:layout_weight="1"
android:gravity="left|center"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/_03"
android:textColor="#000000"
android:textSize="15sp" />
<TextView
android:id="@+id/group_memeber_number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="demo"
android:textColor="@android:color/holo_blue_light"
android:textSize="30sp"
android:textStyle="bold"
android:singleLine="true"/>
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/header_layout.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingBottom="10dip"
android:paddingTop="10dip" >
<LinearLayout
android:id="@+id/layout"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:gravity="center"
android:orientation="vertical" >
<TextView
android:id="@+id/tip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="下拉可以刷新!" />
<TextView
android:id="@+id/lastupdate_time"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
<ImageView
android:id="@+id/arrow"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/layout"
android:layout_marginRight="20dip"
android:src="@drawable/pull_to_refresh_arrow" />
<ProgressBar
android:id="@+id/progress"
style="?android:attr/progressBarStyleSmall"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_toLeftOf="@id/layout"
android:layout_marginRight="20dip"
android:visibility="gone" />
</RelativeLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/history.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/date_image"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:background="@drawable/selector_tab"
android:contentDescription="@string/app_name"
android:src="@drawable/selector_calendar" />
<TextView
android:id="@+id/date_text"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="left"
android:text="@string/today"
android:textColor="#6DCAEC"
android:textSize="20sp" />
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginTop="15dp"
android:text="@string/sport"
android:textSize="20sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:orientation="horizontal" >
<TextView
android:id="@+id/number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:singleLine="true"
android:typeface="normal"
android:text="@string/_0"
android:textColor="#6DCAEC"
android:textSize="90sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="5dp"
android:text="@string/step"
android:textSize="20sp" />
</LinearLayout>
<ProgressBar
android:id="@+id/progressBar"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="300dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:max="1000"
android:progressDrawable="@drawable/barcolor"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:text="@string/complete"
android:textSize="15sp" />
<TextView
android:id="@+id/ratio"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="1dp"
android:text="@string/_0_"
android:textSize="15sp" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:layout_weight="1"
android:gravity="right"
android:text="@string/_10000"
android:textSize="15sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginTop="10dp"
android:background="@android:color/darker_gray" />
</LinearLayout>
================================================
FILE: pedometer/res/layout/member_add.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/member_add_back"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name"
android:src="@drawable/selector_back" />
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="@string/_09"
android:textColor="#6DCAEC"
android:textSize="20sp" />
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<com.bit.pedometer.ui.fragment.tools.ReFlashListView
android:id="@+id/member_add_list"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</com.bit.pedometer.ui.fragment.tools.ReFlashListView>
</LinearLayout>
================================================
FILE: pedometer/res/layout/member_add_list.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="60dip"
android:background="@drawable/app_item_bg"
android:gravity="center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/member_add_list_picture"
android:layout_width="50dip"
android:layout_height="50dip"
android:layout_marginLeft="10dip" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="10dip"
android:layout_weight="1"
android:orientation="vertical" >
<TextView
android:id="@+id/member_add_list_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="姓名"
android:textColor="@android:color/black"
android:textSize="18sp" />
<TextView
android:id="@+id/member_add_list_steps"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dip"
android:text="步数"
android:textSize="14sp" />
</LinearLayout>
<Button
android:id="@+id/member_add_list_button"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_marginRight="10dip"
android:layout_weight="0.11"
android:background="@drawable/selector_button"
android:gravity="center"
android:singleLine="true"
android:text="添加好友"
android:visibility="gone"/>
<TextView
android:id="@+id/already_add"
android:layout_width="80dip"
android:layout_height="30dip"
android:layout_marginRight="10dip"
android:gravity="center"
android:text="已添加"
android:textColor="#6DCAEC"
android:textSize="20sp"
android:visibility="gone" />
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/member_list.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal"
>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:orientation="horizontal" >
<ImageView
android:id="@+id/pic"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_weight="1"
android:contentDescription="@string/_0" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="60dp"
android:layout_weight="3"
android:gravity="center"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center|left"
android:orientation="vertical" >
<TextView
android:id="@+id/name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="demo"
android:layout_marginLeft="2dp"
android:textColor="#000000"
android:textSize="16sp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center|left"
android:orientation="horizontal" >
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="@string/stepNumber"
android:textColor="#000000"
android:textSize="16sp"
android:singleLine="true"/>
<TextView
android:id="@+id/steps"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="2"
android:gravity="center"
android:text="demo"
android:textColor="@android:color/holo_blue_light"
android:textSize="16sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="right|center"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="10dp"
android:text="@string/di"
android:textColor="#000000"
android:textSize="15sp"/>
<TextView
android:id="@+id/number"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="20dp"
android:text="demo"
android:textColor="@android:color/holo_blue_light"
android:textSize="30sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/membet_set.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/background"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:gravity="left|center_vertical"
android:orientation="horizontal"
android:paddingLeft="30dp" >
<ImageView
android:id="@+id/member_picture"
android:layout_width="80dp"
android:layout_height="80dp"
android:contentDescription="@string/_0" />
<LinearLayout
android:layout_width="160dp"
android:layout_height="80dp"
android:gravity="center_vertical"
android:orientation="vertical"
android:paddingLeft="15dp" >
<LinearLayout
android:layout_width="160dp"
android:layout_height="40dp"
android:gravity="center_vertical"
android:orientation="horizontal" >
<TextView
android:id="@+id/member_name"
android:layout_width="80dp"
android:layout_height="40dp"
android:gravity="left|center_vertical"
android:text="@string/male"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<ImageView
android:id="@+id/member_sexpic"
android:layout_width="40dp"
android:layout_height="40dp"
android:src="@drawable/female_set" />
</LinearLayout>
<TextView
android:layout_width="160dp"
android:layout_height="30dp"
android:text="@string/_04"
android:textColor="#7B7B7B"
android:textSize="20sp" />
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left|center_vertical"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/weight"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/member_weight"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_55"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/kg"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="70dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left|center_vertical"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/StepNumber"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/member_steps"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_2"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/bu"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="120dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left|center_vertical"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/_05"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:gravity="right|center_vertical"
android:text="@string/_08"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<com.bit.pedometer.ui.fragment.tools.MyNumberPicker
android:id="@+id/member_numberPicker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="right|center_vertical"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/_06"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:gravity="bottom"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_weight="1"
android:gravity="bottom|center_horizontal"
android:orientation="horizontal" >
<Button
android:id="@+id/member_button1"
android:layout_width="120dp"
android:layout_height="60dp"
android:background="@drawable/button1" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:layout_weight="1"
android:gravity="bottom|center_horizontal"
android:orientation="horizontal" >
<Button
android:id="@+id/member_button2"
android:layout_width="120dp"
android:layout_height="60dp"
android:background="@drawable/button2" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/page_mian.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<FrameLayout
android:id="@+id/Fragment"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" >
</FrameLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal" >
<RadioButton
android:id="@+id/btn1"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
android:background="#00000000"
android:button="@null"
android:drawableTop="@drawable/selector_history"
android:gravity="center"
android:text="@string/history"
android:textColor="@drawable/selector_color"
android:textSize="13sp" />
<RadioButton
android:id="@+id/btn2"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
android:background="#00000000"
android:button="@null"
android:drawableTop="@drawable/selector_analysis"
android:gravity="center"
android:text="@string/analysis"
android:textColor="@drawable/selector_color"
android:textSize="13sp" />
<RadioButton
android:id="@+id/btn3"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
android:background="#00000000"
android:button="@null"
android:checked="true"
android:drawableTop="@drawable/selector_pedometer"
android:gravity="center"
android:text="@string/pedometer"
android:textColor="@drawable/selector_color"
android:textSize="13sp" />
<RadioButton
android:id="@+id/btn4"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
android:background="#00000000"
android:button="@null"
android:drawableTop="@drawable/selector_pk"
android:gravity="center"
android:text="@string/pk"
android:textColor="@drawable/selector_color"
android:textSize="13sp" />
<RadioButton
android:id="@+id/btn5"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1"
android:background="#00000000"
android:button="@null"
android:drawableTop="@drawable/selector_set"
android:gravity="center"
android:text="@string/set"
android:textColor="@drawable/selector_color"
android:textSize="13sp" />
</RadioGroup>
</LinearLayout>
================================================
FILE: pedometer/res/layout/pedometer.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal" >
<ImageView
android:id="@+id/title_pedometer"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name"
android:src="@drawable/selector_image" />
<TextView
android:id="@+id/sport"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_weight="1"
android:gravity="center"
android:text="@string/sport"
android:textColor="#6DCAEC"
android:textSize="20sp" />
<ImageView
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="left"
android:layout_marginLeft="10dp"
android:contentDescription="@string/app_name" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center" >
<com.bit.pedometer.ui.view.CircleBar
android:id="@+id/progress_pedometer"
android:layout_width="match_parent"
android:layout_height="300dp" >
</com.bit.pedometer.ui.view.CircleBar>
</LinearLayout>
</LinearLayout>
================================================
FILE: pedometer/res/layout/pk.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_weight="1"
android:orientation="horizontal" >
<RadioButton
android:id="@+id/pk_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="60dp"
android:background="#00000000"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/_pk1"
android:textColor="@drawable/selector_color"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="1dp"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:background="@android:color/darker_gray"
android:gravity="center" />
<LinearLayout
android:baselineAligned="false"
android:layout_width="0dp"
android:layout_height="50dp"
android:layout_weight="1"
android:orientation="horizontal" >
<LinearLayout
android:layout_width="0dp"
android:layout_height="50dp"
android:orientation="horizontal"
android:gravity="left"
android:layout_weight="1">
<RadioButton
android:id="@+id/pk_2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:background="#00000000"
android:layout_marginRight="10dp"
android:button="@null"
android:gravity="center"
android:text="@string/_pk"
android:textColor="@drawable/selector_color"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="50dp"
android:orientation="horizontal"
android:gravity="right" >
<ImageView
android:id="@+id/friend"
android:layout_width="50dp"
android:layout_height="50dp"
android:layout_gravity="fill_horizontal"
android:contentDescription="@string/app_name"
android:src="@drawable/selector_friend" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<ImageView
android:id="@+id/pk_tabline"
android:layout_width="match_parent"
android:layout_height="3dp"
android:layout_marginLeft="60dp"
android:layout_marginRight="60dp"
android:background="#6DCAEC"
android:contentDescription="@string/_0" />
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<android.support.v4.view.ViewPager
android:id="@+id/viewpager"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:orientation="vertical" />
</LinearLayout>
================================================
FILE: pedometer/res/layout/pk_1.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<com.bit.pedometer.ui.fragment.tools.ReFlashListView
android:id="@+id/pk_1_listview"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
</com.bit.pedometer.ui.fragment.tools.ReFlashListView>
</LinearLayout>
================================================
FILE: pedometer/res/layout/pk_2.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<ExpandableListView
android:id="@+id/pk_2_listview"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ExpandableListView>
</LinearLayout>
================================================
FILE: pedometer/res/layout/set.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="vertical">
<TextView
android:id="@+id/set"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/set"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="130dp"
android:gravity="center"
android:orientation="vertical">
<ImageView
android:id="@+id/picture"
android:layout_width="75dp"
android:layout_marginTop="13dp"
android:layout_height="75dp" />
<TextView
android:id="@+id/name_"
android:layout_width="wrap_content"
android:layout_marginTop="4dp"
android:layout_height="wrap_content"
android:text="@string/inputname"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<!--<LinearLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:layout_marginTop="10dp"
android:layout_gravity="center_vertical"
android:background="#ffffff"
android:id="@+id/edit_member_info"
android:orientation="horizontal">
<ImageView
android:id="@+id/member_icon3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ico_mine_modify" />
<TextView
android:id="@+id/member_text3"
android:gravity="center"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:text="修改资料"
android:textColor="#666666"
android:textSize="20sp" />
</LinearLayout>-->
<LinearLayout
android:id="@+id/set_name"
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/name"
android:textColor="#7B7B7B"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:id="@+id/sex"
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/sex"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<RadioGroup
android:id="@+id/sex_"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_weight="1"
android:gravity="right"
android:orientation="horizontal">
<RadioButton
android:id="@+id/male"
android:layout_width="65dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:background="@drawable/selector_male"
android:button="@null"
android:checked="true"
android:gravity="center"
android:text="@string/male"
android:textColor="@drawable/selector_color_set"
android:textSize="15sp" />
<RadioButton
android:id="@+id/female"
android:layout_width="65dp"
android:layout_height="40dp"
android:layout_gravity="center_vertical"
android:layout_marginLeft="-15dp"
android:background="@drawable/selector_female"
android:button="@null"
android:gravity="center"
android:text="@string/female"
android:textColor="@drawable/selector_color_set"
android:textSize="15sp" />
</RadioGroup>
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:id="@+id/weight"
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/weight"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/weight_"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right|center_vertical"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_55"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/kg"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:id="@+id/sensitivy"
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/sensitivy"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/sensitivy_"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_1"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:id="@+id/lengh_step"
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/LengthOfStep"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/lengh_step_"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_55"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/cm"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
</LinearLayout>
================================================
FILE: pedometer/res/layout/userinfo.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="80dp"
android:gravity="center_horizontal|center_vertical"
android:orientation="horizontal" >
<ImageView
android:id="@+id/user_picture"
android:layout_width="70dp"
android:layout_height="70dp"
android:contentDescription="@string/_0" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@android:color/darker_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/name"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/user_name"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/male"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/sex"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/user_sex"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/male"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/StepNumber"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/user_steps"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_2"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/bu"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="55dp"
android:orientation="horizontal" >
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="left"
android:layout_marginLeft="15dp"
android:layout_weight="1"
android:gravity="left|center_vertical"
android:text="@string/paiming"
android:textColor="#7B7B7B"
android:textSize="20sp" />
<TextView
android:id="@+id/user_number"
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="5dp"
android:layout_weight="1"
android:gravity="right|center_vertical"
android:text="@string/_55"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="55dp"
android:layout_gravity="right"
android:layout_marginRight="15dp"
android:gravity="right|center_vertical"
android:text="@string/ming"
android:textColor="@android:color/holo_blue_light"
android:textSize="20sp" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_marginLeft="15dp"
android:layout_marginRight="15dp"
android:background="#d0d0d0" />
</LinearLayout>
================================================
FILE: pedometer/res/layout/welcome.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:id="@+id/welcome"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/_0"
android:scaleType="fitXY"
android:src="@drawable/welcome" />
</LinearLayout>
================================================
FILE: pedometer/res/values/colors.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="tab_selected_bg">#6DCAEC</color>
<color name="sliding_menu_item_down">#ff39393b</color>
<color name="sliding_menu_item_release">#00000000</color>
<color name="sliding_menu_background">#ff2c2c2e</color>
<color name="sliding_menu_body_background">#fff5f5f5</color>
<color name="transparent">#00000000</color>
<color name="transparent_background">#80000000</color>
<color name="blue">#03a9f4</color>
<color name="blue_press">#01567c</color>
<color name="disable_press">#858e99</color>
<color name="able_press_identify">#f98425</color>
<color name="gray">#858e99</color>
<color name="white">#ffffff</color>
<color name="black">#000000</color>
<color name="text_color">#3f3f3f</color>
<color name="background">#efeff4</color>
<color name="text_blue_color">#3170cf</color>
<color name="chat_startColor">#c3dee7</color>
<color name="chat_endColor">#efefe3</color>
<color name="chat_edittext_strokeColor">#cBcBcd</color>
<color name="chat_edittextColor">#fafafa</color>
<!--40%白-->
<color name="color_66ffffff">#66ffffff</color>
<!--20%白-->
<color name="color_33ffffff">#33ffffff</color>
<!--70%白-->
<color name="color_b2ffffff">#b2ffffff</color>
<!--80%白-->
<color name="color_ccffffff">#ccffffff</color>
<!--70%黑-->
<color name="color_b2000000">#b2000000</color>
<!--90%黑-->
<color name="color_e5000000">#e5000000</color>
<!--40%黑-->
<color name="color_66000000">#66000000</color>
<!--40%-->
<color name="color_66a7cef2">#66a7cef2</color>
<!--60%-->
<color name="color_9950a6c2">#9950c6a2</color>
<!--70%-->
<color name="color_b2f97525">#b2f97525</color>
<!--60%-->
<color name="color_99103a5d">#99103a5d</color>
<!--20%-->
<color name="color_33ff9710">#33ff9710</color>
<!--70%-->
<color name="color_b2d1d4d8">#b2d1d4d8</color>
<color name="color_ffdd3c">#ffdd3c</color>
<color name="color_ffc000">#ffc000</color>
<color name="color_fda72c">#fda72c</color>
<color name="color_ff4200">#ff4200</color>
<color name="color_3f3f3f">#3f3f3f</color>
<color name="color_4f4f4f">#4f4f4f</color>
<color name="color_adadad">#adadad</color>
<color name="color_80adadad">#80adadad</color>
<color name="color_fcf1df">#fcf1df</color>
<color name="color_d7d4cf">#d7d4cf</color>
<color name="color_646464">#646464</color>
<color name="color_2d2d2d">#2d2d2d</color>
<color name="color_efeff4">#efeff4</color>
<color name="color_acb2b9">#acb2b9</color>
<color name="color_70858e99">#70858e99</color>
<color name="color_d1d4d8">#d1d4d8</color>
<color name="color_f3452a">#f3452a</color>
<color name="color_da7420">#da7420</color>
<color name="color_f94a1e">#f94a1e</color>
<color name="color_eb4a2a">#eb4a2a</color>
<color name="color_f98425">#f98425</color>
<color name="color_f3a033">#f3a033</color>
<color name="color_f7d87a">#f7d87a</color>
<color name="color_f9f9f9">#f9f9f9</color>
<color name="color_a4cbf2">#a4cbf2</color>
<color name="color_b8b8b8">#b8b8b8</color>
<color name="color_c5c5c5">#c5c5c5</color>
<color name="color_bbbbbb">#bbbbbb</color>
<color name="color_e7e7e7">#e7e7e7</color>
<color name="color_7e7e7e">#7e7e7e</color>
<color name="color_e7be63">#e7be63</color>
<color name="color_55c1e7">#55c1e7</color>
<color name="color_03a9f4">#03a9f4</color>
<color name="color_1690ce">#1690ce</color>
<color name="color_5e5e5e">#5e5e5e</color>
<color name="color_696868">#696868</color>
<color name="color_a7a8a9">#a7a8a9</color>
<color name="color_e5e5e5">#e5e5e5</color>
<color name="color_858e99">#858e99</color>
<color name="color_eefaff">#eefaff</color>
<color name="color_999999">#999999</color>
<color name="color_84f3f5">#84f3f5</color>
<color name="color_fffdf9">#fffdf9</color>
<color name="color_818181">#818181</color>
<color name="color_858585">#858585</color>
<color name="color_3393e4">#3393e4</color>
<color name="color_a5c5d3">#a5c5d3</color>
<color name="color_a4a4a4">#a4a4a4</color>
<color name="color_ff761a">#ff761a</color>
<color name="color_808081">#808081</color>
<color name="color_cfb5a7">#cfb5a7</color>
<color name="color_6fd7f9">#6fd7f9</color>
<color name="color_a8a7a7">#a8a7a7</color>
<color name="color_5d6265">#5d6265</color>
<color name="color_babbbc">#babbbc</color>
<color name="color_e1e1e1">#e1e1e1</color>
<color name="color_b09d76">#b09d76</color>
<color name="color_9003a9f4">#9003a9f4</color>
<color name="translucent">#cc000000</color>
<color name="translucent_black">#20000000</color>
<color name="translucent55_white">#8dffffff</color>
<color name="translucent80_black">#cd000000</color>
<color name="translucent40_black">#66000000</color>
<color name="color_b4b4b4">#b4b4b4</color>
<color name="color_ff7b11">#ff7b11</color>
<color name="color_a2a2a2">#a2a2a2</color>
<color name="color_ffb207">#ffb207</color>
<color name="color_a15100">#a15100</color>
<color name="color_ff0000">#ff0000</color>
<color name="color_fafafa">#fafafa</color>
<color name="color_ff623d">#ff623d</color>
<color name="color_ea5920">#ea5920</color>
<color name="color_6a6a6a">#6a6a6a</color>
<color name="color_f7f7f7">#f7f7f7</color>
<color name="color_c4c4c4">#c4c4c4</color>
<color name="color_C8C6C7">#C8C6C7</color>
<color name="color_979797">#979797</color>
<color name="color_898989">#898989</color>
<color name="color_ff9f15">#ff9f15</color>
</resources>
================================================
FILE: pedometer/res/values/dimens.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="common_title_height">40dp</dimen>
<!--字体的5种大小,全局使用这5种字体大小-->
<dimen name="font_size_xxsmall">12dp</dimen>
<dimen name="font_size_xsmall">13dp</dimen>
<dimen name="font_size_small">15dp</dimen>
<dimen name="font_size_middle">16dp</dimen>
<dimen name="font_size_large">19dp</dimen>
<dimen name="font_size_xlarge">21dp</dimen>
<dimen name="font_size_xxlarge">23dp</dimen>
<dimen name="font_size_xxxlarge">27dp</dimen>
<!--控件距离左右屏幕的距离-->
<dimen name="item_margin_left_right">11dp</dimen>
<!--按钮个高度-->
<dimen name="button_height">43dp</dimen>
<!--控件之间的间隔-->
<dimen name="item_distance">5dp</dimen>
<!--控件之间高的间隔-->
<dimen name="item_height_distance">8dp</dimen>
<!--输入框的统一高度-->
<dimen name="textInput_height">40dp</dimen>
<!--聊天界面输入框的距离内容的距离-->
<dimen name="chat_padding_common">10dp</dimen>
<!--聊天界面输入框的距离内容的距离-->
<dimen name="chat_padding_special">20dp</dimen>
<!--对话框与头像之间的距离-->
<dimen name="chat_image_distance">4dp</dimen>
<!--头像大小-->
<dimen name="chat_head_icon_dimen">38dp</dimen>
<!--对话框最大长度-->
<dimen name="chat_item_maxLength">240dp</dimen>
<!--小ICON的大小-->
<dimen name="chat_progress_delIcon_size">18dp</dimen>
<!--选择图标大小-->
<dimen name="chat_icon_size">25dp</dimen>
<!--功能图标大小-->
<dimen name="chat_icon_more_size">51dp</dimen>
<!--图标距离-->
<dimen name="chat_icon_distance">7dp</dimen>
<!--聊天内容距顶部距离-->
<dimen name="chat_top_distance">14dp</dimen>
<!--聊天定位框的高度-->
<dimen name="chat_location_height">94dp</dimen>
<!--聊天定位框图片的高度-->
<dimen name="chat_location_image_height">74dp</dimen>
<!--聊天定位框文字间距离-->
<dimen name="chat_location_image_text_distance">2dp</dimen>
<!--聊天定位框文字最大长度-->
<dimen name="chat_location_image_text_maxWidth">130dp</dimen>
<!--聊天定位框的长度-->
<dimen name="chat_location_maxWidth">235dp</dimen>
<dimen name="dimen_0dp">0dp</dimen>
<dimen name="dimen_1dp">1dp</dimen>
<dimen name="dimen_2dp">2dp</dimen>
<dimen name="dimen_3dp">3dp</dimen>
<dimen name="dimen_4dp">4dp</dimen>
<dimen name="dimen_5dp">5dp</dimen>
<dimen name="dimen_6dp">6dp</dimen>
<dimen name="dimen_7dp">7dp</dimen>
<dimen name="dimen_8dp">8dp</dimen>
<dimen name="dimen_9dp">9dp</dimen>
<dimen name="dimen_10dp">10dp</dimen>
<dimen name="dimen_11dp">11dp</dimen>
<dimen name="dimen_12dp">12dp</dimen>
<dimen name="dimen_13dp">13dp</dimen>
<dimen name="dimen_14dp">14dp</dimen>
<dimen name="dimen_15dp">15dp</dimen>
<dimen name="dimen_16dp">16dp</dimen>
<dimen name="dimen_17dp">17dp</dimen>
<dimen name="dimen_18dp">18dp</dimen>
<dimen name="dimen_19dp">19dp</dimen>
<dimen name="dimen_20dp">20dp</dimen>
<dimen name="dimen_21dp">21dp</dimen>
<dimen name="dimen_22dp">22dp</dimen>
<dimen name="dimen_23dp">23dp</dimen>
<dimen name="dimen_24dp">24dp</dimen>
<dimen name="dimen_25dp">25dp</dimen>
<dimen name="dimen_26dp">26dp</dimen>
<dimen name="dimen_27dp">27dp</dimen>
<dimen name="dimen_28dp">28dp</dimen>
<dimen name="dimen_29dp">29dp</dimen>
<dimen name="dimen_30dp">30dp</dimen>
<dimen name="dimen_31dp">31dp</dimen>
<dimen name="dimen_32dp">32dp</dimen>
<dimen name="dimen_33dp">33dp</dimen>
<dimen name="dimen_34dp">34dp</dimen>
<dimen name="dimen_35dp">35dp</dimen>
<dimen name="dimen_36dp">36dp</dimen>
<dimen name="dimen_37dp">37dp</dimen>
<dimen name="dimen_38dp">38dp</dimen>
<dimen name="dimen_39dp">39dp</dimen>
<dimen name="dimen_40dp">40dp</dimen>
<dimen name="dimen_41dp">41dp</dimen>
<dimen name="dimen_42dp">42dp</dimen>
<dimen name="dimen_43dp">43dp</dimen>
<dimen name="dimen_44dp">44dp</dimen>
<dimen name="dimen_45dp">45dp</dimen>
<dimen name="dimen_46dp">46dp</dimen>
<dimen name="dimen_47dp">47dp</dimen>
<dimen name="dimen_48dp">48dp</dimen>
<dimen name="dimen_49dp">49dp</dimen>
<dimen name="dimen_50dp">50dp</dimen>
<dimen name="dimen_51dp">51dp</dimen>
<dimen name="dimen_52dp">52dp</dimen>
<dimen name="dimen_53dp">53dp</dimen>
<dimen name="dimen_54dp">54dp</dimen>
<dimen name="dimen_55dp">55dp</dimen>
<dimen name="dimen_56dp">56dp</dimen>
<dimen name="dimen_57dp">57dp</dimen>
<dimen name="dimen_58dp">58dp</dimen>
<dimen name="dimen_59dp">59dp</dimen>
<dimen name="dimen_60dp">60dp</dimen>
<dimen name="dimen_61dp">61dp</dimen>
<dimen name="dimen_62dp">62dp</dimen>
<dimen name="dimen_63dp">63dp</dimen>
<dimen name="dimen_64dp">64dp</dimen>
<dimen name="dimen_65dp">65dp</dimen>
<dimen name="dimen_66dp">66dp</dimen>
<dimen name="dimen_67dp">67dp</dimen>
<dimen name="dimen_68dp">68dp</dimen>
<dimen name="dimen_69dp">69dp</dimen>
<dimen name="dimen_70dp">70dp</dimen>
<dimen name="dimen_71dp">71dp</dimen>
<dimen name="dimen_72dp">72dp</dimen>
<dimen name="dimen_73dp">73dp</dimen>
<dimen name="dimen_74dp">74dp</dimen>
<dimen name="dimen_75dp">75dp</dimen>
<dimen name="dimen_76dp">76dp</dimen>
<dimen name="dimen_77dp">77dp</dimen>
<dimen name="dimen_78dp">78dp</dimen>
<dimen name="dimen_79dp">79dp</dimen>
<dimen name="dimen_80dp">80dp</dimen>
<dimen name="dimen_81dp">81dp</dimen>
<dimen name="dimen_82dp">82dp</dimen>
<dimen name="dimen_83dp">83dp</dimen>
<dimen name="dimen_84dp">84dp</dimen>
<dimen name="dimen_85dp">85dp</dimen>
<dimen name="dimen_86dp">86dp</dimen>
<dimen name="dimen_87dp">87dp</dimen>
<dimen name="dimen_88dp">88dp</dimen>
<dimen name="dimen_89dp">89dp</dimen>
<dimen name="dimen_90dp">90dp</dimen>
<dimen name="dimen_91dp">91dp</dimen>
<dimen name="dimen_92dp">92dp</dimen>
<dimen name="dimen_93dp">93dp</dimen>
<dimen name="dimen_94dp">94dp</dimen>
<dimen name="dimen_95dp">95dp</dimen>
<dimen name="dimen_96dp">96dp</dimen>
<dimen name="dimen_97dp">97dp</dimen>
<dimen name="dimen_98dp">98dp</dimen>
<dimen name="dimen_99dp">99dp</dimen>
<dimen name="dimen_100dp">100dp</dimen>
<dimen name="dimen_101dp">101dp</dimen>
<dimen name="dimen_102dp">102dp</dimen>
<dimen name="dimen_103dp">103dp</dimen>
<dimen name="dimen_104dp">104dp</dimen>
<dimen name="dimen_105dp">105dp</dimen>
<dimen name="dimen_106dp">106dp</dimen>
<dimen name="dimen_107dp">107dp</dimen>
<dimen name="dimen_108dp">108dp</dimen>
<dimen name="dimen_109dp">109dp</dimen>
<dimen name="dimen_110dp">110dp</dimen>
<dimen name="dimen_111dp">111dp</dimen>
<dimen name="dimen_112dp">112dp</dimen>
<dimen name="dimen_113dp">113dp</dimen>
<dimen name="dimen_114dp">114dp</dimen>
<dimen name="dimen_115dp">115dp</dimen>
<dimen name="dimen_116dp">116dp</dimen>
<dimen name="dimen_117dp">117dp</dimen>
<dimen name="dimen_118dp">118dp</dimen>
<dimen name="dimen_119dp">119dp</dimen>
<dimen name="dimen_120dp">120dp</dimen>
<dimen name="dimen_121dp">121dp</dimen>
<dimen name="dimen_122dp">122dp</dimen>
<dimen name="dimen_123dp">123dp</dimen>
<dimen name="dimen_124dp">124dp</dimen>
<dimen name="dimen_125dp">125dp</dimen>
<dimen name="dimen_126dp">126dp</dimen>
<dimen name="dimen_127dp">127dp</dimen>
<dimen name="dimen_128dp">128dp</dimen>
<dimen name="dimen_129dp">129dp</dimen>
<dimen name="dimen_130dp">130dp</dimen>
<dimen name="dimen_131dp">131dp</dimen>
<dimen name="dimen_132dp">132dp</dimen>
<dimen name="dimen_133dp">133dp</dimen>
<dimen name="dimen_134dp">134dp</dimen>
<dimen name="dimen_135dp">135dp</dimen>
<dimen name="dimen_136dp">136dp</dimen>
<dimen name="dimen_137dp">137dp</dimen>
<dimen name="dimen_138dp">138dp</dimen>
<dimen name="dimen_139dp">139dp</dimen>
<dimen name="dimen_140dp">140dp</dimen>
<dimen name="dimen_141dp">141dp</dimen>
<dimen name="dimen_142dp">142dp</dimen>
<dimen name="dimen_143dp">143dp</dimen>
<dimen name="dimen_144dp">144dp</dimen>
<dimen name="dimen_145dp">145dp</dimen>
<dimen name="dimen_146dp">146dp</dimen>
<dimen name="dimen_147dp">147dp</dimen>
<dimen name="dimen_148dp">148dp</dimen>
<dimen name="dimen_149dp">149dp</dimen>
<dimen name="dimen_150dp">150dp</dimen>
<dimen name="dimen_151dp">151dp</dimen>
<dimen name="dimen_152dp">152dp</dimen>
<dimen name="dimen_153dp">153dp</dimen>
<dimen name="dimen_154dp">154dp</dimen>
<dimen name="dimen_155dp">155dp</dimen>
<dimen name="dimen_156dp">156dp</dimen>
<dimen name="dimen_157dp">157dp</dimen>
<dimen name="dimen_158dp">158dp</dimen>
<dimen name="dimen_159dp">159dp</dimen>
<dimen name="dimen_160dp">160dp</dimen>
<dimen name="dimen_161dp">161dp</dimen>
<dimen name="dimen_162dp">162dp</dimen>
<dimen name="dimen_163dp">163dp</dimen>
<dimen name="dimen_164dp">164dp</dimen>
<dimen name="dimen_165dp">165dp</dimen>
<dimen name="dimen_166dp">166dp</dimen>
<dimen name="dimen_167dp">167dp</dimen>
<dimen name="dimen_168dp">168dp</dimen>
<dimen name="dimen_169dp">169dp</dimen>
<dimen name="dimen_170dp">170dp</dimen>
<dimen name="dimen_171dp">171dp</dimen>
<dimen name="dimen_172dp">172dp</dimen>
<dimen name="dimen_173dp">173dp</dimen>
<dimen name="dimen_174dp">174dp</dimen>
<dimen name="dimen_175dp">175dp</dimen>
<dimen name="dimen_176dp">176dp</dimen>
<dimen name="dimen_177dp">177dp</dimen>
<dimen name="dimen_178dp">178dp</dimen>
<dimen name="dimen_179dp">179dp</dimen>
<dimen name="dimen_180dp">180dp</dimen>
<dimen name="dimen_181dp">181dp</dimen>
<dimen name="dimen_182dp">182dp</dimen>
<dimen name="dimen_183dp">183dp</dimen>
<dimen name="dimen_184dp">184dp</dimen>
<dimen name="dimen_185dp">185dp</dimen>
<dimen name="dimen_186dp">186dp</dimen>
<dimen name="dimen_187dp">187dp</dimen>
<dimen name="dimen_188dp">188dp</dimen>
<dimen name="dimen_189dp">189dp</dimen>
<dimen name="dimen_190dp">190dp</dimen>
<dimen name="dimen_191dp">191dp</dimen>
<dimen name="dimen_192dp">192dp</dimen>
<dimen name="dimen_193dp">193dp</dimen>
<dimen name="dimen_194dp">194dp</dimen>
<dimen name="dimen_195dp">195dp</dimen>
<dimen name="dimen_196dp">196dp</dimen>
<dimen name="dimen_197dp">197dp</dimen>
<dimen name="dimen_198dp">198dp</dimen>
<dimen name="dimen_199dp">199dp</dimen>
<dimen name="dimen_200dp">200dp</dimen>
<dimen name="dimen_201dp">201dp</dimen>
<dimen name="dimen_202dp">202dp</dimen>
<dimen name="dimen_203dp">203dp</dimen>
<dimen name="dimen_204dp">204dp</dimen>
<dimen name="dimen_205dp">205dp</dimen>
<dimen name="dimen_206dp">206dp</dimen>
<dimen name="dimen_207dp">207dp</dimen>
<dimen name="dimen_208dp">208dp</dimen>
<dimen name="dimen_209dp">209dp</dimen>
<dimen name="dimen_210dp">210dp</dimen>
<dimen name="dimen_211dp">211dp</dimen>
<dimen name="dimen_212dp">212dp</dimen>
<dimen name="dimen_213dp">213dp</dimen>
<dimen name="dimen_214dp">214dp</dimen>
<dimen name="dimen_215dp">215dp</dimen>
<dimen name="dimen_216dp">216dp</dimen>
<dimen name="dimen_217dp">217dp</dimen>
<dimen name="dimen_218dp">218dp</dimen>
<dimen name="dimen_219dp">219dp</dimen>
<dimen name="dimen_220dp">220dp</dimen>
<dimen name="dimen_221dp">221dp</dimen>
<dimen name="dimen_222dp">222dp</dimen>
<dimen name="dimen_223dp">223dp</dimen>
<dimen name="dimen_224dp">224dp</dimen>
<dimen name="dimen_225dp">225dp</dimen>
<dimen name="dimen_226dp">226dp</dimen>
<dimen name="dimen_227dp">227dp</dimen>
<dimen name="dimen_228dp">228dp</dimen>
<dimen name="dimen_229dp">229dp</dimen>
<dimen name="dimen_230dp">230dp</dimen>
<dimen name="dimen_231dp">231dp</dimen>
<dimen name="dimen_232dp">232dp</dimen>
<dimen name="dimen_233dp">233dp</dimen>
<dimen name="dimen_234dp">234dp</dimen>
<dimen name="dimen_235dp">235dp</dimen>
<dimen name="dimen_236dp">236dp</dimen>
<dimen name="dimen_237dp">237dp</dimen>
<dimen name="dimen_238dp">238dp</dimen>
<dimen name="dimen_239dp">239dp</dimen>
<dimen name="dimen_240dp">240dp</dimen>
<dimen name="dimen_241dp">241dp</dimen>
<dimen name="dimen_242dp">242dp</dimen>
<dimen name="dimen_243dp">243dp</dimen>
<dimen name="dimen_244dp">244dp</dimen>
<dimen name="dimen_245dp">245dp</dimen>
<dimen name="dimen_246dp">246dp</dimen>
<dimen name="dimen_247dp">247dp</dimen>
<dimen name="dimen_248dp">248dp</dimen>
<dimen name="dimen_249dp">249dp</dimen>
<dimen name="dimen_250dp">250dp</dimen>
<dimen name="dimen_251dp">251dp</dimen>
<dimen name="dimen_252dp">252dp</dimen>
<dimen name="dimen_253dp">253dp</dimen>
<dimen name="dimen_254dp">254dp</dimen>
<dimen name="dimen_255dp">255dp</dimen>
<dimen name="dimen_256dp">256dp</dimen>
<dimen name="dimen_257dp">257dp</dimen>
<dimen name="dimen_258dp">258dp</dimen>
<dimen name="dimen_259dp">259dp</dimen>
<dimen name="dimen_260dp">260dp</dimen>
<dimen name="dimen_261dp">261dp</dimen>
<dimen name="dimen_262dp">262dp</dimen>
<dimen name="dimen_263dp">263dp</dimen>
<dimen name="dimen_264dp">264dp</dimen>
<dimen name="dimen_265dp">265dp</dimen>
<dimen name="dimen_266dp">266dp</dimen>
<dimen name="dimen_267dp">267dp</dimen>
<dimen name="dimen_268dp">268dp</dimen>
<dimen name="dimen_269dp">269dp</dimen>
<dimen name="dimen_270dp">270dp</dimen>
<dimen name="dimen_271dp">271dp</dimen>
<dimen name="dimen_272dp">272dp</dimen>
<dimen name="dimen_273dp">273dp</dimen>
<dimen name="dimen_274dp">274dp</dimen>
<dimen name="dimen_275dp">275dp</dimen>
<dimen name="dimen_276dp">276dp</dimen>
<dimen name="dimen_277dp">277dp</dimen>
<dimen name="dimen_278dp">278dp</dimen>
<dimen name="dimen_279dp">279dp</dimen>
<dimen name="dimen_280dp">280dp</dimen>
<dimen name="dimen_281dp">281dp</dimen>
<dimen name="dimen_282dp">282dp</dimen>
<dimen name="dimen_283dp">283dp</dimen>
<dimen name="dimen_284dp">284dp</dimen>
<dimen name="dimen_285dp">285dp</dimen>
<dimen name="dimen_286dp">286dp</dimen>
<dimen name="dimen_287dp">287dp</dimen>
<dimen name="dimen_288dp">288dp</dimen>
<dimen name="dimen_289dp">289dp</dimen>
<dimen name="dimen_290dp">290dp</dimen>
<dimen name="dimen_291dp">291dp</dimen>
<dimen name="dimen_292dp">292dp</dimen>
<dimen name="dimen_293dp">293dp</dimen>
<dimen name="dimen_294dp">294dp</dimen>
<dimen name="dimen_295dp">295dp</dimen>
<dimen name="dimen_296dp">296dp</dimen>
<dimen name="dimen_297dp">297dp</dimen>
<dimen name="dimen_298dp">298dp</dimen>
<dimen name="dimen_299dp">299dp</dimen>
<dimen name="dimen_300dp">300dp</dimen>
<dimen name="dimen_301dp">301dp</dimen>
<dimen name="dimen_302dp">302dp</dimen>
<dimen name="dimen_303dp">303dp</dimen>
<dimen name="dimen_304dp">304dp</dimen>
<dimen name="dimen_305dp">305dp</dimen>
<dimen name="dimen_306dp">306dp</dimen>
<dimen name="dimen_307dp">307dp</dimen>
<dimen name="dimen_308dp">308dp</dimen>
<dimen name="dimen_309dp">309dp</dimen>
<dimen name="dimen_310dp">310dp</dimen>
<dimen name="dimen_311dp">311dp</dimen>
<dimen name="dimen_312dp">312dp</dimen>
<dimen name="dimen_313dp">313dp</dimen>
<dimen name="dimen_314dp">314dp</dimen>
<dimen name="dimen_315dp">315dp</dimen>
<dimen name="dimen_316dp">316dp</dimen>
<dimen name="dimen_317dp">317dp</dimen>
<dimen name="dimen_318dp">318dp</dimen>
<dimen name="dimen_319dp">319dp</dimen>
<dimen name="dimen_320dp">320dp</dimen>
<dimen name="dimen_321dp">321dp</dimen>
<dimen name="dimen_322dp">322dp</dimen>
<dimen name="dimen_323dp">323dp</dimen>
<dimen name="dimen_324dp">324dp</dimen>
<dimen name="dimen_325dp">325dp</dimen>
<dimen name="dimen_326dp">326dp</dimen>
<dimen name="dimen_327dp">327dp</dimen>
<dimen name="dimen_328dp">328dp</dimen>
<dimen name="dimen_329dp">329dp</dimen>
<dimen name="dimen_330dp">330dp</dimen>
<dimen name="dimen_331dp">331dp</dimen>
<dimen name="dimen_332dp">332dp</dimen>
<dimen name="dimen_333dp">333dp</dimen>
<dimen name="dimen_334dp">334dp</dimen>
<dimen name="dimen_335dp">335dp</dimen>
<dimen name="dimen_336dp">336dp</dimen>
<dimen name="dimen_337dp">337dp</dimen>
<dimen name="dimen_338dp">338dp</dimen>
<dimen name="dimen_339dp">339dp</dimen>
<dimen name="dimen_340dp">340dp</dimen>
<dimen name="dimen_341dp">341dp</dimen>
<dimen name="dimen_342dp">342dp</dimen>
<dimen name="dimen_343dp">343dp</dimen>
<dimen name="dimen_344dp">344dp</dimen>
<dimen name="dimen_345dp">345dp</dimen>
<dimen name="dimen_346dp">346dp</dimen>
<dimen name="dimen_347dp">347dp</dimen>
<dimen name="dimen_348dp">348dp</dimen>
<dimen name="dimen_349dp">349dp</dimen>
<dimen name="dimen_350dp">350dp</dimen>
<dimen name="dimen_351dp">351dp</dimen>
<dimen name="dimen_352dp">352dp</dimen>
<dimen name="dimen_353dp">353dp</dimen>
<dimen name="dimen_354dp">354dp</dimen>
<dimen name="dimen_355dp">355dp</dimen>
<dimen name="dimen_356dp">356dp</dimen>
<dimen name="dimen_357dp">357dp</dimen>
<dimen name="dimen_358dp">358dp</dimen>
<dimen name="dimen_359dp">359dp</dimen>
<dimen name="dimen_360dp">360dp</dimen>
<dimen name="dimen_361dp">361dp</dimen>
<dimen name="dimen_362dp">362dp</dimen>
<dimen name="dimen_363dp">363dp</dimen>
<dimen name="dimen_364dp">364dp</dimen>
<dimen name="dimen_365dp">365dp</dimen>
<dimen name="dimen_366dp">366dp</dimen>
<dimen name="dimen_367dp">367dp</dimen>
<dimen name="dimen_368dp">368dp</dimen>
<dimen name="dimen_369dp">369dp</dimen>
<dimen name="dimen_370dp">370dp</dimen>
<dimen name="dimen_371dp">371dp</dimen>
<dimen name="dimen_372dp">372dp</dimen>
<dimen name="dimen_373dp">373dp</dimen>
<dimen name="dimen_374dp">374dp</dimen>
<dimen name="dimen_375dp">375dp</dimen>
<dimen name="dimen_376dp">376dp</dimen>
<dimen name="dimen_377dp">377dp</dimen>
<dimen name="dimen_378dp">378dp</dimen>
<dimen name="dimen_379dp">379dp</dimen>
<dimen name="dimen_380dp">380dp</dimen>
<dimen name="dimen_381dp">381dp</dimen>
<dimen name="dimen_382dp">382dp</dimen>
<dimen name="dimen_383dp">383dp</dimen>
<dimen name="dimen_384dp">384dp</dimen>
<dimen name="dimen_385dp">385dp</dimen>
<dimen name="dimen_386dp">386dp</dimen>
<dimen name="dimen_387dp">387dp</dimen>
<dimen name="dimen_388dp">388dp</dimen>
<dimen name="dimen_389dp">389dp</dimen>
<dimen name="dimen_390dp">390dp</dimen>
<dimen name="dimen_391dp">391dp</dimen>
<dimen name="dimen_392dp">392dp</dimen>
<dimen name="dimen_393dp">393dp</dimen>
<dimen name="dimen_394dp">394dp</dimen>
<dimen name="dimen_395dp">395dp</dimen>
<dimen name="dimen_396dp">396dp</dimen>
<dimen name="dimen_397dp">397dp</dimen>
<dimen name="dimen_398dp">398dp</dimen>
<dimen name="dimen_399dp">399dp</dimen>
<dimen name="dimen_400dp">400dp</dimen>
<dimen name="dimen_401dp">401dp</dimen>
<dimen name="dimen_402dp">402dp</dimen>
<dimen name="dimen_403dp">403dp</dimen>
<dimen name="dimen_404dp">404dp</dimen>
<dimen name="dimen_405dp">405dp</dimen>
<dimen name="dimen_406dp">406dp</dimen>
<dimen name="dimen_407dp">407dp</dimen>
<dimen name="dimen_408dp">408dp</dimen>
<dimen name="dimen_409dp">409dp</dimen>
<dimen name="dimen_410dp">410dp</dimen>
<dimen name="dimen_411dp">411dp</dimen>
<dimen name="dimen_412dp">412dp</dimen>
<dimen name="dimen_413dp">413dp</dimen>
<dimen name="dimen_414dp">414dp</dimen>
<dimen name="dimen_415dp">415dp</dimen>
<dimen name="dimen_416dp">416dp</dimen>
<dimen name="dimen_417dp">417dp</dimen>
<dimen name="dimen_418dp">418dp</dimen>
<dimen name="dimen_419dp">419dp</dimen>
<dimen name="dimen_420dp">420dp</dimen>
<dimen name="dimen_421dp">421dp</dimen>
<dimen name="dimen_422dp">422dp</dimen>
<dimen name="dimen_423dp">423dp</dimen>
<dimen name="dimen_424dp">424dp</dimen>
<dimen name="dimen_425dp">425dp</dimen>
<dimen name="dimen_426dp">426dp</dimen>
<dimen name="dimen_427dp">427dp</dimen>
<dimen name="dimen_428dp">428dp</dimen>
<dimen name="dimen_429dp">429dp</dimen>
<dimen name="dimen_430dp">430dp</dimen>
<dimen name="dimen_431dp">431dp</dimen>
<dimen name="dimen_432dp">432dp</dimen>
<dimen name="dimen_433dp">433dp</dimen>
<dimen name="dimen_434dp">434dp</dimen>
<dimen name="dimen_435dp">435dp</dimen>
<dimen name="dimen_436dp">436dp</dimen>
<dimen name="dimen_437dp">437dp</dimen>
<dimen name="dimen_438dp">438dp</dimen>
<dimen name="dimen_439dp">439dp</dimen>
<dimen name="dimen_440dp">440dp</dimen>
<dimen name="dimen_441dp">441dp</dimen>
<dimen name="dimen_442dp">442dp</dimen>
<dimen name="dimen_443dp">443dp</dimen>
<dimen name="dimen_444dp">444dp</dimen>
<dimen name="dimen_445dp">445dp</dimen>
<dimen name="dimen_446dp">446dp</dimen>
<dimen name="dimen_447dp">447dp</dimen>
<dimen name="dimen_448dp">448dp</dimen>
<dimen name="dimen_449dp">449dp</dimen>
<dimen name="dimen_450dp">450dp</dimen>
<dimen name="dimen_451dp">451dp</dimen>
<dimen name="dimen_452dp">452dp</dimen>
<dimen name="dimen_453dp">453dp</dimen>
<dimen name="dimen_454dp">454dp</dimen>
<dimen name="dimen_455dp">455dp</dimen>
<dimen name="dimen_456dp">456dp</dimen>
<dimen name="dimen_457dp">457dp</dimen>
<dimen name="dimen_458dp">458dp</dimen>
<dimen name="dimen_459dp">459dp</dimen>
<dimen name="dimen_460dp">460dp</dimen>
<dimen name="dimen_461dp">461dp</dimen>
<dimen name="dimen_462dp">462dp</dimen>
<dimen name="dimen_463dp">463dp</dimen>
<dimen name="dimen_464dp">464dp</dimen>
<dimen name="dimen_465dp">465dp</dimen>
<dimen name="dimen_466dp">466dp</dimen>
<dimen name="dimen_467dp">467dp</dimen>
<dimen name="dimen_468dp">468dp</dimen>
<dimen name="dimen_469dp">469dp</dimen>
<dimen name="dimen_470dp">470dp</dimen>
<dimen name="dimen_471dp">471dp</dimen>
<dimen name="dimen_472dp">472dp</dimen>
<dimen name="dimen_473dp">473dp</dimen>
<dimen name="dimen_474dp">474dp</dimen>
<dimen name="dimen_475dp">475dp</dimen>
<dimen name="dimen_476dp">476dp</dimen>
<dimen name="dimen_477dp">477dp</dimen>
<dimen name="dimen_478dp">478dp</dimen>
<dimen name="dimen_479dp">479dp</dimen>
<dimen name="dimen_480dp">480dp</dimen>
<dimen name="dimen_481dp">481dp</dimen>
<dimen name="dimen_482dp">482dp</dimen>
<dimen name="dimen_483dp">483dp</dimen>
<dimen name="dimen_484dp">484dp</dimen>
<dimen name="dimen_485dp">485dp</dimen>
<dimen name="dimen_486dp">486dp</dimen>
<dimen name="dimen_487dp">487dp</dimen>
<dimen name="dimen_488dp">488dp</dimen>
<dimen name="dimen_489dp">489dp</dimen>
<dimen name="dimen_490dp">490dp</dimen>
<dimen name="dimen_491dp">491dp</dimen>
<dimen name="dimen_492dp">492dp</dimen>
<dimen name="dimen_493dp">493dp</dimen>
<dimen name="dimen_494dp">494dp</dimen>
<dimen name="dimen_495dp">495dp</dimen>
<dimen name="dimen_496dp">496dp</dimen>
<dimen name="dimen_497dp">497dp</dimen>
<dimen name="dimen_498dp">498dp</dimen>
<dimen name="dimen_499dp">499dp</dimen>
<dimen name="dimen_500dp">500dp</dimen>
<dimen name="dimen_501dp">501dp</dimen>
<dimen name="dimen_502dp">502dp</dimen>
<dimen name="dimen_503dp">503dp</dimen>
<dimen name="dimen_504dp">504dp</dimen>
<dimen name="dimen_505dp">505dp</dimen>
<dimen name="dimen_506dp">506dp</dimen>
<dimen name="dimen_507dp">507dp</dimen>
<dimen name="dimen_508dp">508dp</dimen>
<dimen name="dimen_509dp">509dp</dimen>
<dimen name="dimen_510dp">510dp</dimen>
<dimen name="dimen_511dp">511dp</dimen>
<dimen name="dimen_512dp">512dp</dimen>
<dimen name="dimen_513dp">513dp</dimen>
<dimen name="dimen_514dp">514dp</dimen>
<dimen name="dimen_515dp">515dp</dimen>
<dimen name="dimen_516dp">516dp</dimen>
<dimen name="dimen_517dp">517dp</dimen>
<dimen name="dimen_518dp">518dp</dimen>
<dimen name="dimen_519dp">519dp</dimen>
<dimen name="dimen_520dp">520dp</dimen>
<dimen name="dimen_521dp">521dp</dimen>
<dimen name="dimen_522dp">522dp</dimen>
<dimen name="dimen_523dp">523dp</dimen>
<dimen name="dimen_524dp">524dp</dimen>
<dimen name="dimen_525dp">525dp</dimen>
<dimen name="dimen_526dp">526dp</dimen>
<dimen name="dimen_527dp">527dp</dimen>
<dimen name="dimen_528dp">528dp</dimen>
<dimen name="dimen_529dp">529dp</dimen>
<dimen name="dimen_530dp">530dp</dimen>
<dimen name="dimen_531dp">531dp</dimen>
<dimen name="dimen_532dp">532dp</dimen>
<dimen name="dimen_533dp">533dp</dimen>
<dimen name="dimen_534dp">534dp</dimen>
<dimen name="dimen_535dp">535dp</dimen>
<dimen name="dimen_536dp">536dp</dimen>
<dimen name="dimen_537dp">537dp</dimen>
<dimen name="dimen_538dp">538dp</dimen>
<dimen name="dimen_539dp">539dp</dimen>
<dimen name="dimen_540dp">540dp</dimen>
<dimen name="dimen_541dp">541dp</dimen>
<dimen name="dimen_542dp">542dp</dimen>
<dimen name="dimen_543dp">543dp</dimen>
<dimen name="dimen_544dp">544dp</dimen>
<dimen name="dimen_545dp">545dp</dimen>
<dimen name="dimen_546dp">546dp</dimen>
<dimen name="dimen_547dp">547dp</dimen>
<dimen name="dimen_548dp">548dp</dimen>
<dimen name="dimen_549dp">549dp</dimen>
<dimen name="dimen_550dp">550dp</dimen>
<dimen name="dimen_551dp">551dp</dimen>
<dimen name="dimen_552dp">552dp</dimen>
<dimen name="dimen_553dp">553dp</dimen>
<dimen name="dimen_554dp">554dp</dimen>
<dimen name="dimen_555dp">555dp</dimen>
<dimen name="dimen_556dp">556dp</dimen>
<dimen name="dimen_557dp">557dp</dimen>
<dimen name="dimen_558dp">558dp</dimen>
<dimen name="dimen_559dp">559dp</dimen>
<dimen name="dimen_560dp">560dp</dimen>
<dimen name="dimen_561dp">561dp</dimen>
<dimen name="dimen_562dp">562dp</dimen>
<dimen name="dimen_563dp">563dp</dimen>
<dimen name="dimen_564dp">564dp</dimen>
<dimen name="dimen_565dp">565dp</dimen>
<dimen name="dimen_566dp">566dp</dimen>
<dimen name="dimen_567dp">567dp</dimen>
<dimen name="dimen_568dp">568dp</dimen>
<dimen name="dimen_569dp">569dp</dimen>
<dimen name="dimen_570dp">570dp</dimen>
<dimen name="dimen_571dp">571dp</dimen>
<dimen name="dimen_572dp">572dp</dimen>
<dimen name="dimen_573dp">573dp</dimen>
<dimen name="dimen_574dp">574dp</dimen>
<dimen name="dimen_575dp">575dp</dimen>
<dimen name="dimen_576dp">576dp</dimen>
<dimen name="dimen_577dp">577dp</dimen>
<dimen name="dimen_578dp">578dp</dimen>
<dimen name="dimen_579dp">579dp</dimen>
<dimen name="dimen_580dp">580dp</dimen>
<dimen name="dimen_581dp">581dp</dimen>
<dimen name="dimen_582dp">582dp</dimen>
<dimen name="dimen_583dp">583dp</dimen>
<dimen name="dimen_584dp">584dp</dimen>
<dimen name="dimen_585dp">585dp</dimen>
<dimen name="dimen_586dp">586dp</dimen>
<dimen name="dimen_587dp">587dp</dimen>
<dimen name="dimen_588dp">588dp</dimen>
<dimen name="dimen_589dp">589dp</dimen>
<dimen name="dimen_590dp">590dp</dimen>
<dimen name="dimen_591dp">591dp</dimen>
<dimen name="dimen_592dp">592dp</dimen>
<dimen name="dimen_593dp">593dp</dimen>
<dimen name="dimen_594dp">594dp</dimen>
<dimen name="dimen_595dp">595dp</dimen>
<dimen name="dimen_596dp">596dp</dimen>
<dimen name="dimen_597dp">597dp</dimen>
<dimen name="dimen_598dp">598dp</dimen>
<dimen name="dimen_599dp">599dp</dimen>
<dimen name="dimen_600dp">600dp</dimen>
</resources>
================================================
FILE: pedometer/res/values/instapaper_strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) Mob.COM $year.14-10-27 上午11:02
~
~ @author Milk <jecelyin@gmail.com>
-->
<resources>
<string name="instapager_login_html" formatted="false"><![CDATA[
<!DOCTYPE html>
<html>
<head>
<meta content=\"text/html; charset=utf-8\" http-equiv=\"Content-Type\">
<meta content=\"width=device-width,minimum-scale=1,maximum-scale=1,initial-scale=1,user-scalable=no\" id=\"viewport\" name=\"viewport\">
<meta content=\"yes\" name=\"apple-mobile-web-app-capable\">
<title>%s</title>
<style type=\"text/css\">
body{margin:0;padding:0}
.inputstyle {
-webkit-tap-highlight-color:rgba(255,255,255,0);
width:100%%;
height:44px;
color:#000;
background:0;
border:0;
font-size:16px;
outline: none;
-webkit-appearance:none
}
.btn {
width:90%%;
height:44px;
line-height:44px;
background:#A0C035;
border:0;
border-radius:4px;
color:#fff;
font-size:16px;
text-align:center;
margin-top:15px;
display:block
}
.btn:disabled {
background: #dddddd;
}
.error {
color:red;
}
</style>
</head>
<body>
<script type=\"text/javascript\">
function login(form){
var u=form[\"u\"].value,p=form[\"p\"].value;
if(!u || !p)
return false;
form[\"s\"].disabled = true;
Android.onLogin(u, p);
return false;
}
</script>
<form style=\"margin-top:45px;\" action=\"%s\" metho=\"get\" onsubmit=\"return login(this);\">
%s
<div style=\"padding-left:15px;border-top:1px solid #E3E3E5;border-bottom:1px solid #E3E3E5;\">
<input class=\"inputstyle\" id=\"u\" name=\"u\" type=\"text\" placeholder=\"%s\" style=\"border-bottom:1px solid #E3E3E5;\"/>
<input class=\"inputstyle\" id=\"p\" name=\"p\" type=\"password\" placeholder=\"%s\"/>
</div>
<p><input style=\"margin:0 auto;\" type=\"submit\" name=\"s\" value=\" %s \" class=\"btn\"/></p>
</form>
</body>
</html>
]]></string>
</resources>
================================================
FILE: pedometer/res/values/oks_strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="cancel">取消</string>
<string name="finish">完成</string>
<string name="sharing">分享操作正在后台进行…</string>
<string name="share_to">分享到</string>
<string name="share">分享</string>
<string name="multi_share">图文分享</string>
<string name="share_completed">分享成功</string>
<string name="share_canceled">分享已取消</string>
<string name="select_one_plat_at_least">请选择一个目标平台</string>
<string name="list_friends">%s的朋友</string>
<string name="share_failed">分享失败</string>
<string name="pull_to_refresh">下拉刷新</string>
<string name="release_to_refresh">松开刷新</string>
<string name="refreshing">刷新中…</string>
<string name="shake2share">摇晃手机!</string>
<string name="select_a_friend">请选择一个朋友</string>
</resources>
================================================
FILE: pedometer/res/values/ssdk_strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="weibo_oauth_regiseter">应用授权</string>
<string name="website">http://www.mob.com</string>
<string name="weibo_upload_content">分享图片</string>
<string name="wechat_client_inavailable">目前您的微信版本过低或未安装微信,需要安装微信才能使用</string>
<string name="google_plus_client_inavailable">Google+ 版本过低或者没有安装,需要升级或安装Google+才能使用!</string>
<string name="qq_client_inavailable">QQ 版本过低或者没有安装,需要升级或安装QQ才能使用!</string>
<string name="pinterest_client_inavailable">Pinterest版本过低或者没有安装,需要升级或安装Pinterest才能使用!</string>
<string name="instagram_client_inavailable">Instagram版本过低或者没有安装,需要升级或安装Instagram才能使用!</string>
<string name="yixin_client_inavailable">目前您的易信版本过低或未安装,需要安装易信才能使用</string>
<string name="line_client_inavailable">目前您的Line版本过低或未安装,需要安装Line才能使用</string>
<string name="kakaotalk_client_inavailable">目前您的KakaoTalk版本过低或未安装,需要安装KakaoTalk才能使用</string>
<string name="kakaostory_client_inavailable">目前您的KakaoStory版本过低或未安装,需要安装KakaoStory才能使用</string>
<string name="whatsapp_client_inavailable">目前您的WhatsApp版本过低或未安装,需要安装WhatsApp才能使用</string>
<string name="sinaweibo">新浪微博</string>
<string name="tencentweibo">腾讯微博</string>
<string name="qzone">QQ空间</string>
<string name="wechat">微信好友</string>
<string name="wechatmoments">微信朋友圈</string>
<string name="wechatfavorite">微信收藏</string>
<string name="facebook">Facebook</string>
<string name="twitter">Twitter</string>
<string name="renren">人人网</string>
<string name="kaixin">开心网</string>
<string name="email">邮件</string>
<string name="shortmessage">信息</string>
<string name="sohumicroblog">搜狐微博</string>
<string name="sohusuishenkan">搜狐随身看</string>
<string name="neteasemicroblog">网易微博</string>
<string name="douban">豆瓣</string>
<string name="youdao">有道云笔记</string>
<string name="evernote">印象笔记</string>
<string name="linkedin">领英</string>
<string name="googleplus">Google+</string>
<string name="foursquare">FourSquare</string>
<string name="qq">QQ</string>
<string name="pinterest">Pinterest</string>
<string name="flickr">Flickr</string>
<string name="tumblr">Tumblr</string>
<string name="dropbox">Dropbox</string>
<string name="vkontakte">VK</string>
<string name="instagram">Instagram</string>
<string name="yixin">易信</string>
<string name="yixinmoments">易信朋友圈</string>
<string name="mingdao">明道</string>
<string name="kakaotalk">KakaoTalk</string>
<string name="kakaostory">KakaoStory</string>
<string name="line">Line</string>
<string name="bluetooth">蓝牙</string>
<string name="whatsapp">WhatsApp</string>
<string name="pocket">Pocket</string>
<string name="instapaper">Instapaper</string>
<string name="instapaper_email">邮箱</string>
<string name="instapaper_pwd">密码</string>
<string name="instapaper_login">登录</string>
<string name="instapaper_logining">登录中…</string>
<string name="instapager_email_or_password_incorrect">Email或密码不正确</string>
<string name="facebookmessenger">Facebook Messenger</string>
<string name="share_to_qzone">分享到QQ空间</string>
<string name="share_to_qq">分享到QQ</string>
<string name="mingdao_share_content">网页分享</string>
<string name="share_to_mingdao">分享到明道</string>
<string name="share_to_qzone_default">来自%s的分享</string>
<string name="use_login_button">请改用“登录”按钮</string>
</resources>
================================================
FILE: pedometer/res/values/strings.xml
================================================
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Pedometer</string>
<string name="action_settings">Settings</string>
<string name="hello_world">Hello world!</string>
<string name="history">历史</string>
<string name="analysis">分析</string>
<string name="pk">pk</string>
<string name="set">设置</string>
<string name="pedometer">记步</string>
<string name="Monday">"周一 "</string>
<string name="Tuesday">周二</string>
<string name="Wednesday">周三</string>
<string name="Thursday">周四</string>
<string name="Friday">周五</string>
<string name="Saturday">周六</string>
<string name="Sunday">周日</string>
<string name="sport">运动</string>
<string name="today">今天</string>
<string name="_0">0</string>
<string name="step">步数</string>
<string name="complete">已完成:</string>
<string name="_0_">0%</string>
<string name="_10000">目标:10000</string>
<string name="averagestep">平均步数</string>
<string name="sumstep">总步数</string>
<string name="more">更多</string>
<string name="sm_item_demo">接口</string>
<string name="sm_item_auth">授权</string>
<string name="sm_item_wechat">微信</string>
<string name="sm_item_yixin">易信</string>
<string name="sm_item_customer">自定义接口</string>
<string name="sm_item_custom_fields">自定义分享内容</string>
<string name="sm_item_fl_weibo">关注新浪微博</string>
<string name="sm_item_fl_tc">关注腾讯微博</string>
<string name="sm_item_share_view">摇一摇截屏分享</string>
<string name="sm_item_visit_website">关注官方网站</string>
<string name="sm_item_about">Demo版本 Ver. %s</string>
<string name="plz_choose_wechat">请选择微信客户端完成操作</string>
<string name="get_token_format">获取%s的AccessToken</string>
<string name="get_user_info_format">获取%s授权用户资料</string>
<string name="get_other_info_format">获取%s其他用户资料</string>
<string name="share_to_format">分享到%s</string>
<string name="demo_share_all_gui">分享全部(有分享界面)</string>
<string name="demo_share_all">分享全部(无界面,直接分享)</string>
<string name="demo_get_access_token">获取AccessToken</string>
<string name="demo_get_my_info">获取授权用户资料</string>
<string name="demo_get_other_info">获取其他用户资料</string>
<string name="get_sina_friends_list">获取新浪微博关注列表</string>
<string name="get_tencent_friends_list">获取腾讯微博关注列表</string>
<string name="customer_douban">搜索用户</string>
<string name="customer_facebook">获取通知列表</string>
<string name="customer_nemb">获取推荐话题</string>
<string name="customer_renren">上传照片到用户的相册</string>
<string name="customer_sina">获取微博主页列表</string>
<string name="customer_qzone">发表日志到QQ空间</string>
<string name="customer_tencent">获取我的粉丝列表</string>
<string name="customer_twitter">获取主页列表</string>
<string name="customer_kaixin">获取可能认识的人</string>
<string name="customer_sohu">获取好友列表</string>
<string name="customer_youdao">获取笔记本列表</string>
<string name="customer_suishenkan">获取搜狐随身看书签列表</string>
<string name="customer_tumblr">获取Tumblr用户Post列表</string>
<string name="not_yet_authorized">尚未授权</string>
<string name="share_content">ShareSDK for Android不仅集成简单、支持如QQ好友、微信、新浪微博、腾讯微博等所有社交平台,而且还有强大的统计分析管理后台,实时了解用户、信息流、回流率、传播效应等数据,详情见官网http://mob.com @Mob移动开发者服务平台</string>
<string name="share_content_short">ShareSDK不仅集成简单、支持如微信、新浪微博、腾讯微博等平台,还有强大的统计分析管理后台,实时了解用户、信息流、回流率、传播效应等数据,详情见官网http://mob.com @Mob移动开发者服务平台</string>
<string name="evenote_title">ShareSDK是一个神奇的SDK</string>
<string name="update">文字分享</string>
<string name="image_upload">图片分享(本地图片)</string>
<string name="image_upload_bitmap">图片分享(Bitmap对象)</string>
<string name="image_upload_url">图片分享(网络图片)</string>
<string name="emoji_upload">表情分享(本地图片)</string>
<string name="emoji_upload_url">表情分享(网络图片)</string>
<string name="emoji_upload_bm">表情分享(Bitmap对象)</string>
<string name="music_upload">音乐分享</string>
<string name="video_upload">视频分享</string>
<string name="webpage_upload">网页分享(本地图片)</string>
<string name="webpage_upload_bitmap">网页分享(Bitmap对象)</string>
<string name="webpage_upload_url">网页分享(网络图片)</string>
<string name="app_upload">应用分享(携带文件)</string>
<string name="app_upload_extinfo">应用分享(携带脚本)</string>
<string name="file_upload">文件分享</string>
<string name="share_to_wechat">微信好友</string>
<string name="share_to_moment">微信朋友圈</string>
<string name="share_to_favorite">微信收藏</string>
<string name="wechat_demo_title">微信分享Demo标题</string>
<string name="qzone_add_blog_sample"><h1>QQ互联</h1><font color='red'>轻松分享,</font><font color='green'>快乐生活。</font><a href='http://connect.qq.com'>详情请看。</a><img src='http://imgcache.qq.com/ptlogin/head/1_100.gif'></img></string>
<string name="wechat_client_is_not_installed_correctly">微信客户端未安装或版本太旧</string>
<string name="wechat_client_not_support_following_operation">微信客户端不支持第三方应用执行关注功能</string>
<string name="share_to_yixin">易信好友</string>
<string name="share_to_yixin_moment">易信朋友圈</string>
<string name="share_to_yixin_favorite">易信收藏</string>
<string name="yixin_demo_title">易信分享Demo标题</string>
<string name="receive_rewards">恭喜你得到%s个金币!</string>
<string name="buy_success">购买成功</string>
<string name="buy_failed">购买失败</string>
<string name="laiwang">来往</string>
<string name="qzone_customer_share_style">自定义QQ空间分享风格</string>
<string name="qq_share_way">请选择分享方式</string>
<string name="qq_share_from_qqlogin">QQ/QZone登录发微博</string>
<string name="qq_share_from_tlogin">腾讯微博登录发微博</string>
<string name="sex">性别</string>
<string name="birthday">出生年份</string>
<string name="weight">体重</string>
<string name="height">身高</string>
<string name="sensitivy">灵敏度</string>
<string name="LengthOfStep">步伐长度</string>
<string name="_1981">1981</string>
<string name="_55">55</string>
<string name="kg">kg</string>
<string name="cm">cm</string>
<string name="_1">一级</string>
<string name="male">男</string>
<string name="female">女</string>
<string name="_170">170</string>
<string name="_0k">0k</string>
<string name="_pk">分组PK</string>
<string name="_pk1">多人PK</string>
<string name="StepNumber">步数</string>
<string name="paiming">排名</string>
<string name="ming">名</string>
<string name="bu">步</string>
<string name="_2">2</string>
<string name="stepNumber">步数</string>
<string name="di">第</string>
<string name="name">姓名</string>
<string name="pleaseinputname">请输入姓名</string>
<string name="inputname">填写您的姓名</string>
<string name="portrait">头像</string>
<string name="average_steps">平均步数:</string>
<string name="number_member">组成员数:</string>
<string name="_00">第</string>
<string name="_01">组</string>
<string name="_02">姓名:</string>
<string name="_03">步数:</string>
<string name="_04">健康生活每一天</string>
<string name="_05">移动到</string>
<string name="_06">组</string>
<string name="_08">第</string>
<string name="_09">添加好友</string>
</resources>
================================================
FILE: pedometer/res/values/styles.xml
================================================
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<!-- 自定义dialog style -->
<style name="TransparentDialog" parent="@android:style/Theme.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.6</item>
</style>
<!-- 自定义ProgressDialog style -->
<style name="ProgressDialog" parent="@android:style/Theme.Holo.Light.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:backgroundDimEnabled">true</item>
<item name="android:backgroundDimAmount">0.6</item>
</style>
</resources>
================================================
FILE: pedometer/res/values-sw600dp/dimens.xml
================================================
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw600dp devices (e.g. 7" tablets) here.
-->
</resources>
================================================
FILE: pedometer/res/values-sw720dp-land/dimens.xml
================================================
<resources>
<!--
Customize dimensions originally defined in res/values/dimens.xml (such as
screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here.
-->
<dimen name="activity_horizontal_margin">128dp</dimen>
</resources>
================================================
FILE: pedometer/res/values-v11/styles.xml
================================================
<resources>
<!--
Base application theme for API 11+. This theme completely replaces
AppBaseTheme from res/values/styles.xml on API 11+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light">
<!-- API 11 theme customizations can go here. -->
</style>
</resources>
================================================
FILE: pedometer/res/values-v14/styles.xml
================================================
<resources>
<!--
Base application theme for API 14+. This theme completely replaces
AppBaseTheme from BOTH res/values/styles.xml and
res/values-v11/styles.xml on API 14+ devices.
-->
<style name="AppBaseTheme" parent="android:Theme.Holo.Light.DarkActionBar">
<!-- API 14 theme customizations can go here. -->
</style>
</resources>
================================================
FILE: pedometer/src/com/bit/pedometer/common/utils/BmobUtil.java
================================================
package com.bit.pedometer.common.utils;
import java.util.List;
import android.content.Context;
import cn.bmob.v3.Bmob;
import cn.bmob.v3.BmobQuery;
import cn.bmob.v3.listener.FindListener;
import cn.bmob.v3.listener.SaveListener;
import cn.bmob.v3.listener.UpdateListener;
import com.bit.pedometer.data.bean.User;
public class BmobUtil {
public static void saveBmob(final User user,
final BmobSaveAndUpdataListener listener, final Context context) {
new Thread(new Runnable() {
public void run() {
Bmob.initialize(context, "c153449e638703134b8fe75c52210bc7");
if (user.getObjectId().equals("1")) {
user.setObjectId(null);
// Toast.makeText(context, "我正在存储", Toast.LENGTH_LONG).show();
user.save(context, new SaveListener() {
@Override
public void onSuccess() {
listener.onFinishedSave(user);
}
@Override
public void onFailure(int arg0, String arg1) {
listener.onFailure(arg1);
}
});
} else {
// Toast.makeText(context, "我在更新", Toast.LENGTH_LONG).show();
user.update(context,new UpdateListener() {
public void onSuccess() {
listener.onFinishedupdata(user);
}
public void onFailure(int arg0, String arg1) {
listener.onFailure(arg1);
}
});
}
}
}).start();
}
public static void queryBmob(final BmobQueryListener listener,
final Context context) {
new Thread(new Runnable() {
public void run() {
Bmob.initialize(context, "c153449e638703134b8fe75c52210bc7");
BmobQuery<User> query = new BmobQuery<User>();
query.findObjects(context, new FindListener<User>() {
@Override
public void onSuccess(List<User> user_list) {
listener.onQuerySuccess(user_list);
}
@Override
public void onError(int arg0, String arg1) {
listener.onFailure(arg1);
}
});
}
}).start();
}
public interface BmobSaveAndUpdataListener{
void onFinishedSave(User user);
void onFailure(String str);
void onFinishedupdata(User user);
}
public interface BmobQueryListener{
void onQuerySuccess(List<User> users);
void onFailure(String str);
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/common/utils/HttpCallbackListener.java
================================================
package com.bit.pedometer.common.utils;
public interface HttpCallbackListener {
void onFinish(String response);
void onError(Exception e);
}
================================================
FILE: pedometer/src/com/bit/pedometer/common/utils/HttpUtil.java
================================================
package com.bit.pedometer.common.utils;
import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class HttpUtil {
/**
* 网络请求属于耗时操作,所以必须开启另外一个线程,如果不这样,就会导致主线程被阻塞
* 这里为什么要使用java的回调机制,因为我们这里开启了一个线程,来发送HTTP请求
* ,因为HTTP请求属于耗时操作,这就导致sendHttpRequest 方法还没来得及相应时候就执行结束了,当然也就无法返回显影的数据了
* @param address
* @param listener
*/
public static void sendHttpRequest(final String address,
final HttpCallbackListener listener) {
new Thread(new Runnable() {
@Override
public void run() {
HttpURLConnection connection = null;
try {
/* 这是另一种实现的方法
* HttpClient httpClient = new DefaultHttpClient(); HttpGet
* httpGet = new HttpGet(address); HttpResponse httpResponse =
* httpClient.execute(httpGet); String response = null; if
* (httpResponse.getStatusLine().getStatusCode() == 200) {
* HttpEntity entity = httpResponse.getEntity(); response =
* EntityUtils.toString(entity);
*
* }else {
*
* } Gson gson = new Gson(); List<Weather> weathers =
* gson.fromJson(response, new TypeToken<List<Weather>>() {
* }.getType()); for (Weather weather1 : weathers) {
* weather.setPtime(weather1.getPtime());
* weather.setTemp1(weather1.getTemp1());
* weather.setTemp2(weather1.getTemp2());
* weather.setWeather(weather1.getWeather()); }
*/
URL url = new URL(address);
connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
connection.setConnectTimeout(8000);
connection.setReadTimeout(8000);
InputStream in = connection.getInputStream();
BufferedReader reader = new BufferedReader(
new InputStreamReader(in));
StringBuilder response = new StringBuilder();
String line;
while ((line = reader.readLine()) != null) {
response.append(line);
}
if (listener != null) {
// 回调onFinish()方法
listener.onFinish(response.toString());
}
} catch (Exception e) {
if (listener != null) {
// 回调onError()方法
listener.onError(e);
}
} finally {
if (connection != null) {
connection.disconnect();
}
}
}
}).start();
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/data/bean/Group.java
================================================
package com.bit.pedometer.data.bean;
public class Group {
private int ID;
private int total_number;
private int member_number;
public int getID() {
return ID;
}
public void setID(int iD) {
ID = iD;
}
public int getTotal_number() {
return total_number;
}
public void setTotal_number(int total_number) {
this.total_number = total_number;
}
public int getMember_number() {
return member_number;
}
public void setMember_number(int member_number) {
this.member_number = member_number;
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/data/bean/Step.java
================================================
package com.bit.pedometer.data.bean;
public class Step {
private int id;
private int number;
private String date;
private String userId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public int getNumber() {
return number;
}
public void setNumber(int number) {
this.number = number;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/data/bean/User.java
================================================
package com.bit.pedometer.data.bean;
import java.io.Serializable;
import java.sql.Blob;
import cn.bmob.v3.BmobObject;
public class User extends BmobObject implements Serializable {
/**
*
*/
private static final long serialVersionUID = 1L;
private String name;
private String sex;
private int weight;
private int sensitivity;
private int step_length;
private int groupId;
private byte[] picture;
private int today_step;
public int getToday_step() {
return today_step;
}
public void setToday_step(int today_step) {
this.today_step = today_step;
}
public byte[] getPicture() {
return picture;
}
public void setPicture(byte[] picture) {
this.picture = picture;
}
public int getGroupId() {
return groupId;
}
public void setGroupId(int groupId) {
this.groupId = groupId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public int getWeight() {
return weight;
}
public void setWeight(int weight) {
this.weight = weight;
}
public int getSensitivity() {
return sensitivity;
}
public void setSensitivity(int sensitivity) {
this.sensitivity = sensitivity;
}
public int getStep_length() {
return step_length;
}
public void setStep_length(int step_length) {
this.step_length = step_length;
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/data/bean/Weather.java
================================================
package com.bit.pedometer.data.bean;
import java.io.Serializable;
public class Weather{
/**
*
*/
private static final long serialVersionUID = 1L;
private int cityid;
private String city;
private String temp1;
private String temp2;
private String weather;
private String ptime;
public int getCityid() {
return cityid;
}
public void setCityid(int cityid) {
this.cityid = cityid;
}
public String getCity() {
return city;
}
public void setCity(String city) {
this.city = city;
}
public String getTemp1() {
return temp1;
}
public void setTemp1(String temp1) {
this.temp1 = temp1;
}
public String getTemp2() {
return temp2;
}
public void setTemp2(String temp2) {
this.temp2 = temp2;
}
public String getWeather() {
return weather;
}
public void setWeather(String weather) {
this.weather = weather;
}
public String getPtime() {
return ptime;
}
public void setPtime(String ptime) {
this.ptime = ptime;
}
}
================================================
FILE: pedometer/src/com/bit/pedometer/data/db/PedometerDB.java
================================================
package com.bit.pedometer.data.db;
import java.util.ArrayList;
import java.util.List;
import com.bit.pedometer.data.bean.Group;
import com.bit.pedometer.data.bean.Step;
import com.bit.pedometer.data.bean.User;
import com.bit.pedometer.data.bean.Weather;
import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.util.Log;
/**
* 对数据库pedometer里的各个表进行增删改查
*
* @author 李垭超
*
*/
public class PedometerDB {
public static final String DB_NAME = "pedometer.db";// 数据库名称
public static final int VERSION = 1;// 数据版本
private static PedometerDB pedometerDB;
private SQLiteDatabase db;
/**
* 将PedometerDB的构造方法设置为私有方法,在别的类里不能通过new来创建这个对象
*
* @param context
*/
private PedometerDB(Context context) {
PedometerOpenHelper pHelper = new PedometerOpenHelper(context, DB_NAME,
null, VERSION);
db = pHelper.getWritableDatabase();
}
/**
* 使用单例模式创建数据库
*/
public synchronized static PedometerDB getInstance(Context context) {
if (pedometerDB == null) {
pedometerDB = new PedometerDB(context);
}
return pedometerDB;
}
/**
* 增加user表里的数据
*
* @param user
*/
public void saveUser(User user) {
if (user != null) {
ContentValues values = new ContentValues();
values.put("objectId", user.getObjectId());
values.put("name", user.getName());
values.put("sex", user.getSex());
values.put("picture", user.getPicture());
values.put("weight", user.getWeight());
values.put("sensitivity", user.getSensitivity());
values.put("step_length", user.getStep_length());
values.put("groupId", user.getGroupId());
values.put("today_step", user.getToday_step());
db.insert("user", null, values);
}
}
/**
* 根据user的id删除user表里的数据
*
* @param user
*/
public void deleteUser(User user) {
if (user != null) {
db.delete("user", "objectId = ?",
new String[] { user.getObjectId() });
}
}
/**
* 升级user表里的数据
*
* @param user
*/
public void updateUser(User user) {
if (user != null) {
ContentValues values = new ContentValues();
values.put("objectId", user.getObjectId());
values.put("name", user.getName());
values.put("sex", user.getSex());
values.put("picture", user.getPicture());
values.put("weight", user.getWeight());
values.put("sensitivity", user.getSensitivity());
values.put("step_length", user.getStep_length());
values.put("groupId", user.getGroupId());
values.put("today_step", user.getToday_step());
db.update("user", values, "objectId = ?",
new String[] { user.getObjectId() });
}
}
/**
* 升级user表里的数据
*
* @param user
*/
public void changeObjectId(User user) {
if (user != null) {
ContentValues values = new ContentValues();
values.put("objectId", user.getObjectId());
db.update("user", values, null, null);
}
}
/**
* 增加step表里的数据
*
* @param step
*/
public void saveStep(Step step) {
if (step != null) {
ContentValues values = new ContentValues();
values.put("number", step.getNumber());
values.put("date", step.getDate());
values.put("userId", step.getUserId());
db.insert("step", null, values);
}
}
/**
* 升级step表里的数据
*
* @param step
*/
public void updateStep(Step step) {
if (step != null) {
ContentValues values = new ContentValues();
values.put("number", step.getNumber());
values.put("date", step.getDate());
values.put("userId", step.getUserId());
db.update("step", values, "userId = ? and date = ?", new String[] {
step.getUserId(), step.getDate() });
}
}
/**
* 升级step表里的数据
*
* @param step
*/
public void changeuserId(Step step) {
if (step != null) {
ContentValues values = new ContentValues();
// values.put("number", step.getNumber());
// values.put("date", step.getDate());
values.put("userId", step.getUserId());
db.update("step", values, null, null);
}
}
/**
* 增加group数据表里的数据
*
* @param group
*/
public void saveGroup(Group group) {
if (group != null) {
ContentValues values = new ContentValues();
values.put("total_number", group.getTotal_number());
values.put("member_number", group.getMember_number());
db.insert("group1", null, values);
}
}
/**
* 升级group表里的数据
*
* @param group
*/
public void updateGroup(Group group) {
if (group != null) {
ContentValues values = new ContentValues();
values.put("total_number", group.getTotal_number());
values.put("member_number", group.getMember_number());
db.update("group1", values, "id = ?",
new String[] { String.valueOf(group.getID()) });
}
}
/**
* 存储从网站上抓取的天气数据
*
* @param weather
*/
public void saveWeather(Weather weather) {
if (weather != null) {
ContentValues values = new ContentValues();
values.put("cityid", weather.getCityid());
values.put("city", weather.getCity());
values.put("temp1", weather.getTemp1());
values.put("temp2", weather.getTemp2());
values.put("weather", weather.getWeather());
values.put("date", weather.getWeather());
db.insert("weather", null, values);
}
}
/**
* 根据group组的id取数据
*
* @param weather
*/
public Group loadGroup(int id) {
Group group = null;
Cursor cursor = db.query("group1", null, "id = ?",
new String[] { String.valueOf(id) }, null, null, null);
if (cursor.moveToFirst()) {
do {
group = new Group();
group.setID(cursor.getInt(cursor.getColumnIndex("id")));
group.setTotal_number(cursor.getInt(cursor
.getColumnIndex("total_number")));
group.setMember_number(cursor.getInt(cursor
.getColumnIndex("member_number")));
} while (cursor.moveToNext());
}
return group;
}
/**
* 根据user表的userid和date来取数据
*
* @param userId
* @param date
* @return
*/
public Step loadSteps(String userId, String date) {
Step step = null;
Cursor cursor = db.query("step", null, "userId = ? and date = ?",
new String[] { userId, date }, null, null, null);
if (cursor.moveToFirst()) {
do {
step = new Step();
step.setNumber(cursor.getInt(cursor.getColumnIndex("number")));
step.setDate(cursor.getString(cursor.getColumnIndex("date")));
gitextract_8szsxa96/ ├── .gitignore ├── .idea/ │ ├── codeStyles/ │ │ ├── Project.xml │ │ └── codeStyleConfig.xml │ ├── gradle.xml │ ├── misc.xml │ ├── runConfigurations.xml │ └── vcs.xml ├── README.md ├── app/ │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src/ │ ├── androidTest/ │ │ └── java/ │ │ └── com/ │ │ └── knight/ │ │ └── pedometer/ │ │ └── ExampleInstrumentedTest.kt │ ├── main/ │ │ ├── AndroidManifest.xml │ │ └── res/ │ │ ├── drawable/ │ │ │ └── ic_launcher_background.xml │ │ ├── drawable-v24/ │ │ │ └── ic_launcher_foreground.xml │ │ ├── mipmap-anydpi-v26/ │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ └── values/ │ │ ├── colors.xml │ │ ├── strings.xml │ │ └── styles.xml │ └── test/ │ └── java/ │ └── com/ │ └── knight/ │ └── pedometer/ │ └── ExampleUnitTest.kt ├── build.gradle ├── gradle/ │ └── wrapper/ │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradle.properties ├── gradlew ├── gradlew.bat ├── pedometer/ │ ├── AndroidManifest.xml │ ├── README.md │ ├── assets/ │ │ └── ShareSDK.xml │ ├── build.gradle │ ├── gradle/ │ │ └── wrapper/ │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties │ ├── libs/ │ │ ├── BmobPush_V0.5beta_1027.jar │ │ ├── BmobSDK_V3.2.7_1209.jar │ │ ├── ShareSDK-Core-2.3.1.jar │ │ ├── ShareSDK-QQ-2.3.1.jar │ │ ├── ShareSDK-SinaWeibo-2.3.1.jar │ │ ├── ShareSDK-TencentWeibo-2.3.1.jar │ │ ├── ShareSDK-Wechat-2.3.1.jar │ │ ├── ShareSDK-Wechat-Core-2.3.1.jar │ │ ├── ShareSDK-Wechat-Favorite-2.3.1.jar │ │ ├── android-support-v4.jar │ │ ├── gson-2.2.4.jar │ │ └── mframework.jar │ ├── local.properties │ ├── proguard-project.txt │ ├── res/ │ │ ├── anim/ │ │ │ ├── animation_main.xml │ │ │ ├── slide_bottom_in.xml │ │ │ ├── slide_left_in.xml │ │ │ ├── slide_left_out.xml │ │ │ ├── slide_right_in.xml │ │ │ ├── slide_right_out.xml │ │ │ └── slide_top_out.xml │ │ ├── drawable-hdpi/ │ │ │ ├── barcolor.xml │ │ │ ├── dlbtn_selector.xml │ │ │ ├── selector_analysis.xml │ │ │ ├── selector_back.xml │ │ │ ├── selector_button.xml │ │ │ ├── selector_calendar.xml │ │ │ ├── selector_color.xml │ │ │ ├── selector_color_set.xml │ │ │ ├── selector_female.xml │ │ │ ├── selector_friend.xml │ │ │ ├── selector_history.xml │ │ │ ├── selector_image.xml │ │ │ ├── selector_male.xml │ │ │ ├── selector_pedometer.xml │ │ │ ├── selector_pk.xml │ │ │ ├── selector_set.xml │ │ │ └── selector_tab.xml │ │ ├── drawable-ldpi/ │ │ │ └── headpic_bg_frame.xml │ │ ├── drawable-xhdpi/ │ │ │ ├── common_title_text_background.xml │ │ │ ├── dialog_backgroud.xml │ │ │ ├── dialog_left_btn_background.xml │ │ │ ├── dialog_right_btn_background.xml │ │ │ └── ssdk_oks_shake_to_share_back.xml │ │ ├── layout/ │ │ │ ├── activity_set_headpic.xml │ │ │ ├── analyze.xml │ │ │ ├── common_title.xml │ │ │ ├── dialog_layout.xml │ │ │ ├── group_list.xml │ │ │ ├── group_member_list.xml │ │ │ ├── header_layout.xml │ │ │ ├── history.xml │ │ │ ├── member_add.xml │ │ │ ├── member_add_list.xml │ │ │ ├── member_list.xml │ │ │ ├── membet_set.xml │ │ │ ├── page_mian.xml │ │ │ ├── pedometer.xml │ │ │ ├── pk.xml │ │ │ ├── pk_1.xml │ │ │ ├── pk_2.xml │ │ │ ├── set.xml │ │ │ ├── userinfo.xml │ │ │ └── welcome.xml │ │ ├── values/ │ │ │ ├── colors.xml │ │ │ ├── dimens.xml │ │ │ ├── instapaper_strings.xml │ │ │ ├── oks_strings.xml │ │ │ ├── ssdk_strings.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ ├── values-sw600dp/ │ │ │ └── dimens.xml │ │ ├── values-sw720dp-land/ │ │ │ └── dimens.xml │ │ ├── values-v11/ │ │ │ └── styles.xml │ │ └── values-v14/ │ │ └── styles.xml │ └── src/ │ └── com/ │ └── bit/ │ └── pedometer/ │ ├── common/ │ │ └── utils/ │ │ ├── BmobUtil.java │ │ ├── HttpCallbackListener.java │ │ └── HttpUtil.java │ ├── data/ │ │ ├── bean/ │ │ │ ├── Group.java │ │ │ ├── Step.java │ │ │ ├── User.java │ │ │ └── Weather.java │ │ └── db/ │ │ ├── PedometerDB.java │ │ └── PedometerOpenHelper.java │ ├── receiver/ │ │ └── AutoSaveReceiver.java │ ├── service/ │ │ ├── AutoSaveService.java │ │ ├── MyService.java │ │ ├── StepDetector.java │ │ └── StepService.java │ └── ui/ │ ├── activity/ │ │ ├── BaseActivity.java │ │ ├── MainActivity.java │ │ ├── SetToTakePicActivity.java │ │ └── WelcomeActivity.java │ ├── fragment/ │ │ ├── FragmentAdapter.java │ │ ├── FragmentAnalysis.java │ │ ├── FragmentHistory.java │ │ ├── FragmentPK.java │ │ ├── FragmentPedometer.java │ │ ├── FragmentSet.java │ │ ├── PK/ │ │ │ ├── FragmentPK_1.java │ │ │ ├── FragmentPK_2.java │ │ │ ├── FragmentPK_addmember.java │ │ │ └── FragmentPK_memberset.java │ │ ├── onekeyshare/ │ │ │ ├── CustomerLogo.java │ │ │ ├── EditPage.java │ │ │ ├── FollowList.java │ │ │ ├── OnekeyShare.java │ │ │ ├── PicViewer.java │ │ │ ├── PlatformGridView.java │ │ │ ├── ShareContentCustomizeCallback.java │ │ │ └── ShareCore.java │ │ └── tools/ │ │ ├── DisplayUtil.java │ │ ├── ExpandableListViewAdapter.java │ │ ├── MyAdapter.java │ │ ├── MyListAdapter.java │ │ ├── MyNumberPicker.java │ │ ├── PictureUtil.java │ │ ├── ReFlashListView.java │ │ └── ToRoundBitmap.java │ └── view/ │ ├── CircleBar.java │ ├── HistogramView.java │ └── MyDialog.java └── settings.gradle
SYMBOL INDEX (469 symbols across 47 files)
FILE: pedometer/src/com/bit/pedometer/common/utils/BmobUtil.java
class BmobUtil (line 15) | public class BmobUtil {
method saveBmob (line 17) | public static void saveBmob(final User user,
method queryBmob (line 58) | public static void queryBmob(final BmobQueryListener listener,
type BmobSaveAndUpdataListener (line 85) | public interface BmobSaveAndUpdataListener{
method onFinishedSave (line 86) | void onFinishedSave(User user);
method onFailure (line 87) | void onFailure(String str);
method onFinishedupdata (line 88) | void onFinishedupdata(User user);
type BmobQueryListener (line 92) | public interface BmobQueryListener{
method onQuerySuccess (line 93) | void onQuerySuccess(List<User> users);
method onFailure (line 94) | void onFailure(String str);
FILE: pedometer/src/com/bit/pedometer/common/utils/HttpCallbackListener.java
type HttpCallbackListener (line 3) | public interface HttpCallbackListener {
method onFinish (line 5) | void onFinish(String response);
method onError (line 7) | void onError(Exception e);
FILE: pedometer/src/com/bit/pedometer/common/utils/HttpUtil.java
class HttpUtil (line 9) | public class HttpUtil {
method sendHttpRequest (line 18) | public static void sendHttpRequest(final String address,
FILE: pedometer/src/com/bit/pedometer/data/bean/Group.java
class Group (line 3) | public class Group {
method getID (line 9) | public int getID() {
method setID (line 13) | public void setID(int iD) {
method getTotal_number (line 17) | public int getTotal_number() {
method setTotal_number (line 21) | public void setTotal_number(int total_number) {
method getMember_number (line 25) | public int getMember_number() {
method setMember_number (line 29) | public void setMember_number(int member_number) {
FILE: pedometer/src/com/bit/pedometer/data/bean/Step.java
class Step (line 3) | public class Step {
method getId (line 10) | public int getId() {
method setId (line 14) | public void setId(int id) {
method getNumber (line 18) | public int getNumber() {
method setNumber (line 22) | public void setNumber(int number) {
method getDate (line 26) | public String getDate() {
method setDate (line 30) | public void setDate(String date) {
method getUserId (line 34) | public String getUserId() {
method setUserId (line 38) | public void setUserId(String userId) {
FILE: pedometer/src/com/bit/pedometer/data/bean/User.java
class User (line 8) | public class User extends BmobObject implements Serializable {
method getToday_step (line 24) | public int getToday_step() {
method setToday_step (line 28) | public void setToday_step(int today_step) {
method getPicture (line 32) | public byte[] getPicture() {
method setPicture (line 36) | public void setPicture(byte[] picture) {
method getGroupId (line 40) | public int getGroupId() {
method setGroupId (line 44) | public void setGroupId(int groupId) {
method getName (line 50) | public String getName() {
method setName (line 54) | public void setName(String name) {
method getSex (line 58) | public String getSex() {
method setSex (line 62) | public void setSex(String sex) {
method getWeight (line 66) | public int getWeight() {
method setWeight (line 70) | public void setWeight(int weight) {
method getSensitivity (line 74) | public int getSensitivity() {
method setSensitivity (line 78) | public void setSensitivity(int sensitivity) {
method getStep_length (line 82) | public int getStep_length() {
method setStep_length (line 86) | public void setStep_length(int step_length) {
FILE: pedometer/src/com/bit/pedometer/data/bean/Weather.java
class Weather (line 5) | public class Weather{
method getCityid (line 17) | public int getCityid() {
method setCityid (line 20) | public void setCityid(int cityid) {
method getCity (line 23) | public String getCity() {
method setCity (line 26) | public void setCity(String city) {
method getTemp1 (line 29) | public String getTemp1() {
method setTemp1 (line 32) | public void setTemp1(String temp1) {
method getTemp2 (line 35) | public String getTemp2() {
method setTemp2 (line 38) | public void setTemp2(String temp2) {
method getWeather (line 41) | public String getWeather() {
method setWeather (line 44) | public void setWeather(String weather) {
method getPtime (line 47) | public String getPtime() {
method setPtime (line 50) | public void setPtime(String ptime) {
FILE: pedometer/src/com/bit/pedometer/data/db/PedometerDB.java
class PedometerDB (line 23) | public class PedometerDB {
method PedometerDB (line 40) | private PedometerDB(Context context) {
method getInstance (line 49) | public synchronized static PedometerDB getInstance(Context context) {
method saveUser (line 61) | public void saveUser(User user) {
method deleteUser (line 82) | public void deleteUser(User user) {
method updateUser (line 94) | public void updateUser(User user) {
method changeObjectId (line 116) | public void changeObjectId(User user) {
method saveStep (line 129) | public void saveStep(Step step) {
method updateStep (line 144) | public void updateStep(Step step) {
method changeuserId (line 160) | public void changeuserId(Step step) {
method saveGroup (line 175) | public void saveGroup(Group group) {
method updateGroup (line 189) | public void updateGroup(Group group) {
method saveWeather (line 204) | public void saveWeather(Weather weather) {
method loadGroup (line 222) | public Group loadGroup(int id) {
method loadSteps (line 248) | public Step loadSteps(String userId, String date) {
method loadListGroup (line 271) | public List<Group> loadListGroup() {
method lodListUsers (line 296) | public List<User> lodListUsers() {
method loadListSteps (line 330) | public List<Step> loadListSteps() {
method loadUser (line 356) | public User loadUser(String objectId) {
method loadFirstUser (line 388) | public User loadFirstUser() {
method loadWeather (line 417) | public Weather loadWeather(String date) {
FILE: pedometer/src/com/bit/pedometer/data/db/PedometerOpenHelper.java
class PedometerOpenHelper (line 8) | public class PedometerOpenHelper extends SQLiteOpenHelper{
method PedometerOpenHelper (line 60) | public PedometerOpenHelper(Context context, String name,
method onCreate (line 65) | @Override
method onUpgrade (line 76) | @Override
FILE: pedometer/src/com/bit/pedometer/receiver/AutoSaveReceiver.java
class AutoSaveReceiver (line 10) | public class AutoSaveReceiver extends BroadcastReceiver{
method onReceive (line 12) | @Override
FILE: pedometer/src/com/bit/pedometer/service/AutoSaveService.java
class AutoSaveService (line 17) | public class AutoSaveService extends Service {
method onBind (line 25) | @Override
method onCreate (line 30) | @Override
method onStartCommand (line 36) | @Override
method init (line 43) | @SuppressLint("SimpleDateFormat")
FILE: pedometer/src/com/bit/pedometer/service/MyService.java
class MyService (line 14) | public abstract class MyService extends IntentService {
method MyService (line 20) | public MyService(String name) {
class ServiceHandler (line 30) | private final class ServiceHandler extends Handler {
method ServiceHandler (line 31) | public ServiceHandler(Looper looper) {
method handleMessage (line 35) | @Override
method setIntentRedelivery (line 42) | public void setIntentRedelivery(boolean enabled) {
method onCreate (line 46) | @Override
method onStart (line 60) | public void onStart(Intent intent, int startId) {
method onStartCommand (line 74) | @Override
method onDestroy (line 80) | @Override
method onBind (line 91) | @Override
method onHandleIntent (line 108) | protected abstract void onHandleIntent(Intent intent);
FILE: pedometer/src/com/bit/pedometer/service/StepDetector.java
class StepDetector (line 15) | public class StepDetector implements SensorEventListener {
method StepDetector (line 37) | public StepDetector(Context context) {
method onSensorChanged (line 46) | public void onSensorChanged(SensorEvent event) {
method onAccuracyChanged (line 96) | public void onAccuracyChanged(Sensor arg0, int arg1) {
FILE: pedometer/src/com/bit/pedometer/service/StepService.java
class StepService (line 10) | public class StepService extends Service {
method onBind (line 15) | @Override
method onCreate (line 21) | @Override
method startStepDetector (line 33) | private void startStepDetector() {
method onStartCommand (line 44) | @Override
method onDestroy (line 49) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/activity/BaseActivity.java
class BaseActivity (line 28) | public abstract class BaseActivity extends FragmentActivity {
method onCreate (line 61) | @Override
method setContentView (line 76) | protected abstract void setContentView();
method initView (line 81) | protected abstract void initView();
method setTitle (line 86) | protected abstract void setTitle();
method initData (line 91) | protected abstract void initData();
method setEvent (line 96) | protected abstract void setEvent();
method init (line 99) | private void init() {
method getView (line 126) | protected <T extends View> T getView(int viewId) {
method setTitleText (line 136) | protected void setTitleText(String str) {
method setMyTitleColor (line 146) | protected void setMyTitleColor(String colorStr) {
method setMyTitleColor (line 156) | protected void setMyTitleColor(int color) {
method showLeftWithImage (line 167) | protected void showLeftWithImage(int resId,
method showLeftWithText (line 184) | protected void showLeftWithText(String str,
method showRightWithImage (line 201) | protected void showRightWithImage(int resId,
method showRightWithSecondImage (line 218) | protected void showRightWithSecondImage(int resId,
method showRightWithText (line 235) | protected void showRightWithText(String str,
method showToast (line 252) | protected void showToast(int strId, boolean[] booleans) {
method showToast (line 263) | protected void showToast(final String str, final boolean[] booleans) {
method closeSoftKeyboard (line 300) | protected void closeSoftKeyboard() {
method showSoftKeyboard (line 310) | protected void showSoftKeyboard() {
method showToast (line 314) | protected void showToast(String str) {
method showToast (line 318) | protected void showToast(int strId) {
method showProgressDialog (line 328) | protected void showProgressDialog(final String message) {
method showProgressDialog (line 356) | protected void showProgressDialog(final String message, final DialogIn...
method showDialog (line 375) | protected void showDialog(final String message, final View.OnClickList...
method showDialog (line 405) | protected void showDialog(final String message,
method showDialog (line 438) | protected void showDialog(final String message, final View.OnClickList...
method cancelProgressDialog (line 461) | protected void cancelProgressDialog() {
method cancelDialog (line 469) | protected void cancelDialog() {
method onLight (line 478) | protected void onLight() {
method offLight (line 487) | protected void offLight() {
FILE: pedometer/src/com/bit/pedometer/ui/activity/MainActivity.java
class MainActivity (line 28) | public class MainActivity extends FragmentActivity {
method onCreate (line 35) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/activity/SetToTakePicActivity.java
class SetToTakePicActivity (line 14) | public class SetToTakePicActivity extends Activity {
method onCreate (line 22) | @Override
class mOnClickListener (line 38) | class mOnClickListener implements View.OnClickListener {
method onClick (line 39) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/activity/WelcomeActivity.java
class WelcomeActivity (line 20) | public class WelcomeActivity extends Activity {
method onCreate (line 23) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentAdapter.java
class FragmentAdapter (line 27) | public class FragmentAdapter implements OnCheckedChangeListener {
method FragmentAdapter (line 34) | @SuppressLint("SimpleDateFormat")
method onCheckedChanged (line 84) | public void onCheckedChanged(RadioGroup arg0, int arg1) {
method showFragment (line 107) | private void showFragment(int i) {
method getCurrentFragment (line 125) | private Fragment getCurrentFragment() {
method obtainFragmentTransaction (line 134) | private FragmentTransaction obtainFragmentTransaction(int i) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentAnalysis.java
class FragmentAnalysis (line 25) | public class FragmentAnalysis extends Fragment implements OnTouchListener {
method onCreateView (line 51) | @Override
method onActivityCreated (line 58) | @Override
method init (line 68) | @SuppressLint("ClickableViewAccessibility")
method setProgress (line 88) | @SuppressLint("SimpleDateFormat")
method setWeek (line 175) | private void setWeek() {
method week (line 184) | private String week(int day) {
class AllAnimation (line 208) | private class AllAnimation extends Animation {
method applyTransformation (line 209) | @Override
method onTouch (line 228) | @SuppressLint("ClickableViewAccessibility")
method dp2px (line 249) | private int dp2px(int value) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentHistory.java
class FragmentHistory (line 28) | public class FragmentHistory extends Fragment implements OnClickListener {
method onCreateView (line 55) | @Override
method onActivityCreated (line 62) | @Override
method init (line 69) | @SuppressLint("SimpleDateFormat")
method onClick (line 101) | @Override
method insert (line 136) | private void insert() {
method queryStep (line 334) | private void queryStep() {
class AllAnimation (line 350) | private class AllAnimation extends Animation {
method applyTransformation (line 351) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentPK.java
class FragmentPK (line 28) | public class FragmentPK extends Fragment {
method onCreateView (line 42) | @Override
method initTabline (line 51) | private void initTabline() {
method init (line 66) | private void init() {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentPedometer.java
class FragmentPedometer (line 40) | public class FragmentPedometer extends Fragment implements OnClickListen...
method handleMessage (line 62) | public void handleMessage(Message msg) {
method onCreateView (line 88) | @Override
method onPause (line 97) | @Override
method onDestroy (line 102) | @Override
method saveDate (line 110) | private void saveDate() {
method init (line 125) | @SuppressLint("SimpleDateFormat")
method mThread (line 169) | private void mThread() {
method queryFromServer (line 191) | @SuppressLint("SimpleDateFormat")
method onClick (line 220) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/FragmentSet.java
class FragmentSet (line 41) | public class FragmentSet extends Fragment implements OnClickListener {
method onCreateView (line 78) | @Override
method onPause (line 87) | @Override
method onDestroy (line 94) | @Override
method init (line 100) | @SuppressLint("SimpleDateFormat")
method onClick (line 178) | @Override
method setSensitivity (line 283) | private void setSensitivity(int value) {
method onActivityResult (line 321) | @Override
method startPhotoZoom (line 409) | public void startPhotoZoom(Uri uri, int witch) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_1.java
class FragmentPK_1 (line 31) | public class FragmentPK_1 extends Fragment implements OnItemClickListener,
method onCreateView (line 41) | @Override
method onResume (line 50) | @Override
method init (line 57) | @SuppressLint("SimpleDateFormat")
method showList (line 68) | private void showList() {
method onItemClick (line 79) | @SuppressLint("InflateParams")
method onReflash (line 126) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_2.java
class FragmentPK_2 (line 22) | public class FragmentPK_2 extends Fragment implements OnChildClickListen...
method onCreateView (line 32) | public View onCreateView(LayoutInflater inflater, ViewGroup container,
method onResume (line 41) | @Override
method onPause (line 47) | @Override
method showData (line 53) | private void showData() {
method init (line 63) | private void init() {
method prepareData (line 72) | private void prepareData() {
method onChildClick (line 87) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_addmember.java
class FragmentPK_addmember (line 28) | public class FragmentPK_addmember extends FragmentActivity implements
method onCreate (line 39) | @Override
method init (line 49) | private void init() {
method queryAll (line 92) | private void queryAll() {
method showProgressDialog (line 126) | private void showProgressDialog() {
method closeProgressDialog (line 138) | private void closeProgressDialog() {
method onClick (line 144) | @Override
method onReflash (line 158) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_memberset.java
class FragmentPK_memberset (line 21) | public class FragmentPK_memberset extends FragmentActivity implements
method onCreate (line 38) | @Override
method init (line 47) | private void init() {
method onClick (line 100) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/CustomerLogo.java
class CustomerLogo (line 15) | public class CustomerLogo {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/EditPage.java
class EditPage (line 54) | public class EditPage extends FakeActivity implements OnClickListener, T...
method setShareData (line 79) | public void setShareData(HashMap<String, Object> data) {
method setParent (line 83) | public void setParent(OnekeyShare parent) {
method setDialogMode (line 88) | public void setDialogMode() {
method setActivity (line 92) | public void setActivity(Activity activity) {
method onCreate (line 102) | public void onCreate() {
method initPageView (line 138) | private void initPageView() {
method checkAtMth (line 369) | private void checkAtMth(LinearLayout llInput, String platform) {
method getName (line 412) | private String getName(String platform) {
method onClick (line 421) | public void onClick(View v) {
method handleMessage (line 511) | public boolean handleMessage(Message msg) {
method afterPlatformListGot (line 522) | public void afterPlatformListGot() {
method getPlatLogo (line 575) | private Bitmap getPlatLogo(Platform plat) {
method beforeTextChanged (line 590) | public void beforeTextChanged(CharSequence s, int start, int count,
method onTextChanged (line 595) | public void onTextChanged(CharSequence s, int start, int before, int c...
method afterTextChanged (line 601) | public void afterTextChanged(Editable s) {
method onResult (line 605) | public void onResult(ArrayList<String> selected) {
method finish (line 613) | public void finish() {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/FollowList.java
class FollowList (line 45) | public class FollowList extends FakeActivity implements OnClickListener,...
method setPlatform (line 51) | public void setPlatform(Platform platform) {
method onCreate (line 55) | public void onCreate() {
method onClick (line 114) | public void onClick(View v) {
method onItemClick (line 149) | public void onItemClick(AdapterView<?> parent, View view, int position...
method setBackPage (line 155) | public void setBackPage(EditPage page) {
class FollowAdapter (line 159) | private static class FollowAdapter extends PullToRefreshListAdapter
method FollowAdapter (line 170) | public FollowAdapter(PullToRefreshView view) {
method setPlatform (line 189) | public void setPlatform(Platform platform) {
method next (line 194) | private void next() {
method getView (line 200) | public View getView(int position, View convertView, ViewGroup parent) {
method getItem (line 272) | public Following getItem(int position) {
method getItemId (line 276) | public long getItemId(int position) {
method getCount (line 280) | public int getCount() {
method getHeaderView (line 284) | public View getHeaderView() {
method onPullDown (line 288) | public void onPullDown(int percent) {
method onRequest (line 292) | public void onRequest() {
method onCancel (line 300) | public void onCancel(Platform plat, int action) {
method onComplete (line 304) | public void onComplete(Platform plat, int action, HashMap<String, Ob...
method onError (line 315) | public void onError(Platform plat, int action, Throwable t) {
method parseList (line 319) | private ArrayList<Following> parseList(HashMap<String, Object> res) {
method handleMessage (line 419) | public boolean handleMessage(Message msg) {
method onReversed (line 434) | public void onReversed() {
class FollowListItem (line 441) | private static class FollowListItem {
class Following (line 448) | private static class Following {
class PRTHeader (line 456) | private static class PRTHeader extends LinearLayout {
method PRTHeader (line 461) | public PRTHeader(Context context) {
method onPullDown (line 497) | public void onPullDown(int percent) {
method onRequest (line 524) | public void onRequest() {
method reverse (line 533) | public void reverse() {
class RotateImageView (line 541) | private static class RotateImageView extends ImageView {
method RotateImageView (line 544) | public RotateImageView(Context context) {
method setRotation (line 548) | public void setRotation(int degree) {
method onDraw (line 553) | protected void onDraw(Canvas canvas) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/OnekeyShare.java
class OnekeyShare (line 54) | public class OnekeyShare extends FakeActivity implements
method OnekeyShare (line 81) | public OnekeyShare() {
method show (line 87) | public void show(Context context) {
method setNotification (line 92) | public void setNotification(int icon, String title) {
method setAddress (line 98) | public void setAddress(String address) {
method setTitle (line 103) | public void setTitle(String title) {
method setTitleUrl (line 108) | public void setTitleUrl(String titleUrl) {
method setText (line 113) | public void setText(String text) {
method getText (line 118) | public String getText() {
method setImagePath (line 123) | public void setImagePath(String imagePath) {
method setImageUrl (line 129) | public void setImageUrl(String imageUrl) {
method setUrl (line 135) | public void setUrl(String url) {
method setFilePath (line 140) | public void setFilePath(String filePath) {
method setComment (line 145) | public void setComment(String comment) {
method setSite (line 150) | public void setSite(String site) {
method setSiteUrl (line 155) | public void setSiteUrl(String siteUrl) {
method setVenueName (line 160) | public void setVenueName(String venueName) {
method setVenueDescription (line 165) | public void setVenueDescription(String venueDescription) {
method setLatitude (line 170) | public void setLatitude(float latitude) {
method setLongitude (line 175) | public void setLongitude(float longitude) {
method setSilent (line 180) | public void setSilent(boolean silent) {
method setPlatform (line 185) | public void setPlatform(String platform) {
method setCallback (line 190) | public void setCallback(PlatformActionListener callback) {
method getCallback (line 195) | public PlatformActionListener getCallback() {
method setShareContentCustomizeCallback (line 200) | public void setShareContentCustomizeCallback(ShareContentCustomizeCall...
method getShareContentCustomizeCallback (line 205) | public ShareContentCustomizeCallback getShareContentCustomizeCallback() {
method setCustomerLogo (line 210) | public void setCustomerLogo(Bitmap logo, String label, OnClickListener...
method disableSSOWhenAuthorize (line 219) | public void disableSSOWhenAuthorize() {
method setDialogMode (line 224) | public void setDialogMode() {
method onCreate (line 229) | public void onCreate() {
method initPageView (line 283) | private void initPageView() {
method initAnim (line 332) | private void initAnim() {
method onClick (line 348) | public void onClick(View v) {
method onKeyEvent (line 355) | public boolean onKeyEvent(int keyCode, KeyEvent event) {
method onConfigurationChanged (line 362) | public void onConfigurationChanged(Configuration newConfig) {
method finish (line 368) | public void finish() {
method share (line 403) | public void share(HashMap<Platform, HashMap<String, Object>> shareData) {
method onComplete (line 510) | public void onComplete(Platform platform, int action,
method onError (line 520) | public void onError(Platform platform, int action, Throwable t) {
method onCancel (line 534) | public void onCancel(Platform platform, int action) {
method handleMessage (line 543) | public boolean handleMessage(Message msg) {
method showNotification (line 617) | @SuppressWarnings("deprecation")
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/PicViewer.java
class PicViewer (line 20) | public class PicViewer extends FakeActivity implements OnClickListener {
method setImageBitmap (line 25) | public void setImageBitmap(Bitmap pic) {
method onCreate (line 32) | public void onCreate() {
method onClick (line 43) | public void onClick(View v) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/PlatformGridView.java
class PlatformGridView (line 41) | public class PlatformGridView extends LinearLayout implements
method PlatformGridView (line 65) | public PlatformGridView(Context context) {
method PlatformGridView (line 70) | public PlatformGridView(Context context, AttributeSet attrs) {
method init (line 75) | private void init(final Context context) {
method calPageSize (line 96) | private void calPageSize() {
method handleMessage (line 121) | public boolean handleMessage(Message msg) {
method afterPlatformListGot (line 132) | public void afterPlatformListGot() {
method onConfigurationChanged (line 183) | public void onConfigurationChanged() {
method setData (line 194) | public void setData(HashMap<String, Object> data, boolean silent) {
method setCustomerLogos (line 200) | public void setCustomerLogos(ArrayList<CustomerLogo> customers) {
method setParent (line 205) | public void setParent(OnekeyShare parent) {
method onClick (line 209) | public void onClick(View v) {
method disableOverScrollMode (line 245) | private void disableOverScrollMode(View view) {
class PlatformAdapter (line 260) | private static class PlatformAdapter extends ViewPagerAdapter {
method PlatformAdapter (line 267) | public PlatformAdapter(PlatformGridView platformGridView) {
method getCount (line 292) | public int getCount() {
method getView (line 296) | public View getView(int position, ViewGroup parent) {
method onScreenChange (line 324) | public void onScreenChange(int currentScreen, int lastScreen) {
class GridView (line 336) | private static class GridView extends LinearLayout {
method GridView (line 342) | public GridView(PlatformAdapter platformAdapter) {
method setData (line 348) | public void setData(int lines, Object[] beans) {
method init (line 354) | private void init() {
method getView (line 395) | private LinearLayout getView(int position, OnClickListener ocL, Cont...
method getIcon (line 442) | private Bitmap getIcon(Platform plat) {
method getName (line 457) | private String getName(Platform plat) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/ShareContentCustomizeCallback.java
type ShareContentCustomizeCallback (line 5) | public interface ShareContentCustomizeCallback {
method onShare (line 7) | public void onShare(Platform platform, Platform.ShareParams paramsToSh...
FILE: pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/ShareCore.java
class ShareCore (line 25) | public class ShareCore {
method setShareContentCustomizeCallback (line 32) | public void setShareContentCustomizeCallback(ShareContentCustomizeCall...
method share (line 37) | public boolean share(Platform plat, HashMap<String, Object> data) {
method getShareParams (line 58) | private Platform.ShareParams getShareParams(Platform plat,
method isUseClientToShare (line 97) | public static boolean isUseClientToShare(Context context, String platf...
method canAuthorize (line 116) | public static boolean canAuthorize(Context context, String platform) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/DisplayUtil.java
class DisplayUtil (line 5) | public class DisplayUtil {
method px2dip (line 15) | public static int px2dip(Context context, float pxValue) {
method dip2px (line 28) | public static int dip2px(Context context, float dipValue) {
method px2sp (line 41) | public static int px2sp(Context context, float pxValue) {
method sp2px (line 54) | public static int sp2px(Context context, float spValue) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/ExpandableListViewAdapter.java
class ExpandableListViewAdapter (line 21) | public class ExpandableListViewAdapter extends BaseExpandableListAdapter {
method ExpandableListViewAdapter (line 35) | public ExpandableListViewAdapter(Context context, List<Group> group,
method changeExpandableList (line 44) | public void changeExpandableList(List<Group> group,
method getChild (line 51) | @Override
method getChildId (line 57) | @Override
class ViewChildHolder (line 62) | private class ViewChildHolder {
method getChildView (line 70) | @SuppressLint("SimpleDateFormat")
method getChildrenCount (line 103) | @Override
method getGroup (line 113) | @Override
method getGroupCount (line 119) | @Override
method getGroupId (line 125) | @Override
method getGroupView (line 131) | @Override
class ViewGroupHolder (line 163) | private class ViewGroupHolder {
method hasStableIds (line 168) | @Override
method isChildSelectable (line 174) | @Override
method onGroupExpanded (line 180) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/MyAdapter.java
class MyAdapter (line 22) | public class MyAdapter extends BaseAdapter {
method MyAdapter (line 32) | public MyAdapter(Context context, List<User> user_list,
method onDateChange (line 42) | public void onDateChange(List<User> user_list) {
method setPosition (line 47) | public void setPosition(int position) {
method getCount (line 52) | @Override
method getItem (line 58) | @Override
method getItemId (line 65) | @Override
method getView (line 72) | @Override
class ViewHolder (line 142) | private class ViewHolder {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/MyListAdapter.java
class MyListAdapter (line 23) | public class MyListAdapter extends BaseAdapter {
method MyListAdapter (line 29) | public MyListAdapter(Context context, List<User> users,
method changeData (line 37) | public void changeData(List<User> users) {
method getCount (line 42) | @Override
method getItem (line 48) | @Override
method getItemId (line 54) | @Override
method getView (line 60) | @Override
class ViewHolder (line 89) | private class ViewHolder {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/MyNumberPicker.java
class MyNumberPicker (line 10) | public class MyNumberPicker extends NumberPicker {
method MyNumberPicker (line 12) | public MyNumberPicker(Context context, AttributeSet attrs, int defStyl...
method MyNumberPicker (line 17) | public MyNumberPicker(Context context, AttributeSet attrs) {
method MyNumberPicker (line 22) | public MyNumberPicker(Context context) {
method addView (line 27) | @Override
method addView (line 34) | @Override
method addView (line 42) | @Override
method updateView (line 49) | public void updateView(View view) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/PictureUtil.java
class PictureUtil (line 14) | public class PictureUtil {
method compressBmpFromBmp (line 16) | public static Bitmap compressBmpFromBmp(Bitmap image) {
method compressByScale (line 30) | public static Bitmap compressByScale(Bitmap image) {
method compressImage (line 66) | public static Bitmap compressImage(Bitmap image) {
method Bitmap2Byte (line 82) | public static byte[] Bitmap2Byte(Bitmap bitmap) {
method Byte2Bitmap (line 94) | public static Bitmap Byte2Bitmap(byte[] temp) {
method drawable2Bitmap (line 103) | public static Bitmap drawable2Bitmap(Drawable drawable) {
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/ReFlashListView.java
class ReFlashListView (line 25) | public class ReFlashListView extends ListView implements OnScrollListene...
method ReFlashListView (line 45) | public ReFlashListView(Context context, AttributeSet attrs) {
method initView (line 57) | private void initView(Context context) {
method onLayout (line 70) | @Override
method measureView (line 84) | private void measureView(View view) {
method topPadding (line 107) | private void topPadding(int topPadding) {
method onScroll (line 117) | @Override
method onScrollStateChanged (line 126) | @Override
method onTouch (line 132) | @Override
method onMove (line 170) | private void onMove(MotionEvent ev) {
method reflashViewByState (line 209) | private void reflashViewByState() {
method reflashComplete (line 256) | @SuppressLint("SimpleDateFormat")
method setInterface (line 269) | public void setInterface(IReflashListener iReflashListener) {
type IReflashListener (line 279) | public interface IReflashListener {
method onReflash (line 280) | public void onReflash();
FILE: pedometer/src/com/bit/pedometer/ui/fragment/tools/ToRoundBitmap.java
class ToRoundBitmap (line 13) | public class ToRoundBitmap {
method ToRoundBitmap (line 17) | private ToRoundBitmap(Context context) {
method getInstance (line 20) | public static ToRoundBitmap getInstance(Context context) {
method toRoundBitmap (line 28) | public Bitmap toRoundBitmap(Bitmap bitmap) {
FILE: pedometer/src/com/bit/pedometer/ui/view/CircleBar.java
class CircleBar (line 24) | public class CircleBar extends View {
method CircleBar (line 48) | public CircleBar(Context context) {
method CircleBar (line 53) | public CircleBar(Context context, AttributeSet attrs) {
method CircleBar (line 58) | public CircleBar(Context context, AttributeSet attrs, int defStyle) {
method init (line 63) | private void init() {
method onDraw (line 114) | @SuppressLint("DrawAllocation")
method onMeasure (line 177) | protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
method startCustomAnimation (line 192) | public void startCustomAnimation() {
method setWeather (line 197) | public void setWeather(Weather weather) {
method setMax (line 206) | public void setMax(int max) {
method setProgress (line 211) | public void setProgress(int progress, int mType) {
class BarAnimation (line 232) | public class BarAnimation extends Animation {
method applyTransformation (line 244) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/view/HistogramView.java
class HistogramView (line 20) | public class HistogramView extends View {
method HistogramView (line 38) | public HistogramView(Context context) {
method HistogramView (line 43) | public HistogramView(Context context, AttributeSet attrs) {
method init (line 49) | private void init(Context context, AttributeSet attrs) {
method setWeekd (line 68) | public void setWeekd(String[] xWeeks) {
method setText (line 73) | public void setText(int[] text) {
method setProgress (line 80) | public void setProgress(int[] progress) {
method onDraw (line 89) | @SuppressLint("DrawAllocation")
method dp2px (line 169) | private int dp2px(int value) {
method sp2px (line 173) | private int sp2px(int value) {
class HistogramAnimation (line 183) | private class HistogramAnimation extends Animation {
method applyTransformation (line 184) | @Override
FILE: pedometer/src/com/bit/pedometer/ui/view/MyDialog.java
class MyDialog (line 15) | public class MyDialog extends Dialog {
method MyDialog (line 38) | public MyDialog(Context context) {
method MyDialog (line 43) | public MyDialog(Context context, int theme) {
method MyDialog (line 48) | protected MyDialog(Context context, boolean cancelable, OnCancelListen...
method onCreate (line 53) | @Override
method setDialogTitle (line 75) | public void setDialogTitle(String title) {
method setButtonText (line 80) | public void setButtonText(String leftBtn, String rightBtn) {
method setDialogContent (line 85) | public void setDialogContent(String content) {
method setMyOnclickListener (line 89) | public void setMyOnclickListener(View.OnClickListener cancelListener
Condensed preview — 156 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (466K chars).
[
{
"path": ".gitignore",
"chars": 203,
"preview": "*.iml\n.gradle\n/local.properties\n/.idea/caches\n/.idea/libraries\n/.idea/modules.xml\n/.idea/workspace.xml\n/.idea/navEditor."
},
{
"path": ".idea/codeStyles/Project.xml",
"chars": 2033,
"preview": "<component name=\"ProjectCodeStyleConfiguration\">\n <code_scheme name=\"Project\" version=\"173\">\n <JetCodeStyleSettings>"
},
{
"path": ".idea/codeStyles/codeStyleConfig.xml",
"chars": 142,
"preview": "<component name=\"ProjectCodeStyleConfiguration\">\n <state>\n <option name=\"USE_PER_PROJECT_SETTINGS\" value=\"true\" />\n "
},
{
"path": ".idea/gradle.xml",
"chars": 632,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"GradleSettings\">\n <option name=\"linke"
},
{
"path": ".idea/misc.xml",
"chars": 537,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"ASMPluginConfiguration\">\n <asm skipDe"
},
{
"path": ".idea/runConfigurations.xml",
"chars": 564,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"RunConfigurationProducerService\">\n <o"
},
{
"path": ".idea/vcs.xml",
"chars": 229,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n <component name=\"VcsDirectoryMappings\">\n <mapping dire"
},
{
"path": "README.md",
"chars": 118,
"preview": "这是2015年的写的项目,已经不再维护,功能可能已经失效,后期有时间会用kotlin重写一遍,无参考价值\n# pedometer\n\nthis is a pedometer demo,I will rewrite with kotlin\n"
},
{
"path": "app/.gitignore",
"chars": 7,
"preview": "/build\n"
},
{
"path": "app/build.gradle",
"chars": 1009,
"preview": "apply plugin: 'com.android.application'\n\napply plugin: 'kotlin-android'\n\napply plugin: 'kotlin-android-extensions'\n\nandr"
},
{
"path": "app/proguard-rules.pro",
"chars": 751,
"preview": "# Add project specific ProGuard rules here.\n# You can control the set of applied configuration files using the\n# proguar"
},
{
"path": "app/src/androidTest/java/com/knight/pedometer/ExampleInstrumentedTest.kt",
"chars": 642,
"preview": "package com.knight.pedometer\n\nimport android.support.test.InstrumentationRegistry\nimport android.support.test.runner.And"
},
{
"path": "app/src/main/AndroidManifest.xml",
"chars": 428,
"preview": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n package=\"com.knight.pedometer\">\n\n <app"
},
{
"path": "app/src/main/res/drawable/ic_launcher_background.xml",
"chars": 4887,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<vector\n xmlns:android=\"http://schemas.android.com/apk/res/android\"\n "
},
{
"path": "app/src/main/res/drawable-v24/ic_launcher_foreground.xml",
"chars": 1969,
"preview": "<vector xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:aapt=\"http://schemas.android.com/aapt\"\n"
},
{
"path": "app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml",
"chars": 270,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml",
"chars": 270,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<adaptive-icon xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <b"
},
{
"path": "app/src/main/res/values/colors.xml",
"chars": 208,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <color name=\"colorPrimary\">#008577</color>\n <color name=\"color"
},
{
"path": "app/src/main/res/values/strings.xml",
"chars": 72,
"preview": "<resources>\n <string name=\"app_name\">Pedometer</string>\n</resources>\n"
},
{
"path": "app/src/main/res/values/styles.xml",
"chars": 383,
"preview": "<resources>\n\n <!-- Base application theme. -->\n <style name=\"AppTheme\" parent=\"Theme.AppCompat.Light.DarkActionBar"
},
{
"path": "app/src/test/java/com/knight/pedometer/ExampleUnitTest.kt",
"chars": 345,
"preview": "package com.knight.pedometer\n\nimport org.junit.Test\n\nimport org.junit.Assert.*\n\n/**\n * Example local unit test, which wi"
},
{
"path": "build.gradle",
"chars": 666,
"preview": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n\nbuildscript {\n e"
},
{
"path": "gradle/wrapper/gradle-wrapper.properties",
"chars": 233,
"preview": "#Mon Dec 31 12:40:30 CST 2018\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_"
},
{
"path": "gradle.properties",
"chars": 817,
"preview": "# Project-wide Gradle settings.\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will ov"
},
{
"path": "gradlew",
"chars": 5296,
"preview": "#!/usr/bin/env sh\n\n##############################################################################\n##\n## Gradle start up"
},
{
"path": "gradlew.bat",
"chars": 2260,
"preview": "@if \"%DEBUG%\" == \"\" @echo off\r\n@rem ##########################################################################\r\n@rem\r\n@r"
},
{
"path": "pedometer/AndroidManifest.xml",
"chars": 3096,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest\n xmlns:android=\"http://schemas.android.com/apk/res/android\"\n "
},
{
"path": "pedometer/README.md",
"chars": 3859,
"preview": "# 前言\n之前一直没有写简介,比较简陋,现在简单介绍一些这个项目,这个计步器的主要实现是基于手机的加速度感应器实现的,不是根据GPS实现的。\n\n# 记步\n经过两个月的努力,终于把计步器APP初步完成,已经可以正常使用,话不多说,首先上几张A"
},
{
"path": "pedometer/assets/ShareSDK.xml",
"chars": 3335,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<DevInfor>\n\n <!--\n \t说明:\n \t\n \t1、表格中的第一项\n \t\t<ShareSDK \n \t\tApp"
},
{
"path": "pedometer/build.gradle",
"chars": 676,
"preview": "apply plugin: 'com.android.application'\nandroid {\n compileSdkVersion 28\n buildToolsVersion '28.0.3'\n\n defaultCo"
},
{
"path": "pedometer/gradle/wrapper/gradle-wrapper.properties",
"chars": 229,
"preview": "#Wed Apr 10 15:27:10 PDT 2013\ndistributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\nzipStoreBase=GRADLE_USER_"
},
{
"path": "pedometer/local.properties",
"chars": 346,
"preview": "## This file must *NOT* be checked into Version Control Systems,\n# as it contains information specific to your local con"
},
{
"path": "pedometer/proguard-project.txt",
"chars": 781,
"preview": "# To enable ProGuard in your project, edit project.properties\n# to define the proguard.config property as described in t"
},
{
"path": "pedometer/res/anim/animation_main.xml",
"chars": 448,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <alpha\n "
},
{
"path": "pedometer/res/anim/slide_bottom_in.xml",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <translate"
},
{
"path": "pedometer/res/anim/slide_left_in.xml",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <translate"
},
{
"path": "pedometer/res/anim/slide_left_out.xml",
"chars": 227,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <translate"
},
{
"path": "pedometer/res/anim/slide_right_in.xml",
"chars": 227,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <translate"
},
{
"path": "pedometer/res/anim/slide_right_out.xml",
"chars": 226,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <translate"
},
{
"path": "pedometer/res/anim/slide_top_out.xml",
"chars": 354,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<set xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n\n <!-- <tran"
},
{
"path": "pedometer/res/drawable-hdpi/barcolor.xml",
"chars": 826,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?> \n<layer-list xmlns:android=\"http://schemas.android.com/apk/res/android"
},
{
"path": "pedometer/res/drawable-hdpi/dlbtn_selector.xml",
"chars": 473,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_analysis.xml",
"chars": 312,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_back.xml",
"chars": 293,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_button.xml",
"chars": 341,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_calendar.xml",
"chars": 311,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_color.xml",
"chars": 298,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <!-"
},
{
"path": "pedometer/res/drawable-hdpi/selector_color_set.xml",
"chars": 298,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <!-"
},
{
"path": "pedometer/res/drawable-hdpi/selector_female.xml",
"chars": 291,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_friend.xml",
"chars": 290,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_history.xml",
"chars": 310,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_image.xml",
"chars": 345,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <!-- "
},
{
"path": "pedometer/res/drawable-hdpi/selector_male.xml",
"chars": 287,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_pedometer.xml",
"chars": 314,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_pk.xml",
"chars": 305,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\" >\n <i"
},
{
"path": "pedometer/res/drawable-hdpi/selector_set.xml",
"chars": 302,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <item "
},
{
"path": "pedometer/res/drawable-hdpi/selector_tab.xml",
"chars": 333,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n\n <!-- 默"
},
{
"path": "pedometer/res/drawable-ldpi/headpic_bg_frame.xml",
"chars": 319,
"preview": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><!-- 半透明圆角背景 -->\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\""
},
{
"path": "pedometer/res/drawable-xhdpi/common_title_text_background.xml",
"chars": 280,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <item a"
},
{
"path": "pedometer/res/drawable-xhdpi/dialog_backgroud.xml",
"chars": 232,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\"\n android:"
},
{
"path": "pedometer/res/drawable-xhdpi/dialog_left_btn_background.xml",
"chars": 564,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <item a"
},
{
"path": "pedometer/res/drawable-xhdpi/dialog_right_btn_background.xml",
"chars": 566,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<selector xmlns:android=\"http://schemas.android.com/apk/res/android\">\n <item a"
},
{
"path": "pedometer/res/drawable-xhdpi/ssdk_oks_shake_to_share_back.xml",
"chars": 681,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<shape xmlns:android=\"http://schemas.android.com/apk/res/android\" \n android:sh"
},
{
"path": "pedometer/res/layout/activity_set_headpic.xml",
"chars": 2178,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n a"
},
{
"path": "pedometer/res/layout/analyze.xml",
"chars": 3460,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/common_title.xml",
"chars": 8568,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/dialog_layout.xml",
"chars": 2978,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<RelativeLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n "
},
{
"path": "pedometer/res/layout/group_list.xml",
"chars": 2509,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/group_member_list.xml",
"chars": 2382,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/header_layout.xml",
"chars": 1815,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/history.xml",
"chars": 4298,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/member_add.xml",
"chars": 1751,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/member_add_list.xml",
"chars": 2429,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/member_list.xml",
"chars": 3731,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/membet_set.xml",
"chars": 9267,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/page_mian.xml",
"chars": 3525,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/pedometer.xml",
"chars": 1971,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/pk.xml",
"chars": 3759,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/pk_1.xml",
"chars": 524,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/pk_2.xml",
"chars": 428,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/set.xml",
"chars": 10461,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/userinfo.xml",
"chars": 6625,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/layout/welcome.xml",
"chars": 510,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"\n andr"
},
{
"path": "pedometer/res/values/colors.xml",
"chars": 5756,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n\n <color name=\"tab_selected_bg\">#6DCAEC</color>\n\n <color name=\""
},
{
"path": "pedometer/res/values/dimens.xml",
"chars": 28217,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <dimen name=\"common_title_height\">40dp</dimen>\n <!--字体的5种大小,全局"
},
{
"path": "pedometer/res/values/instapaper_strings.xml",
"chars": 1926,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!--\n ~ Copyright (c) Mob.COM $year.14-10-27 上午11:02\n ~\n ~ @author Milk <jecel"
},
{
"path": "pedometer/res/values/oks_strings.xml",
"chars": 771,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <string name=\"cancel\">取消</string>\n <string name=\"finish\">完成</s"
},
{
"path": "pedometer/res/values/ssdk_strings.xml",
"chars": 3305,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n <string name=\"weibo_oauth_regiseter\">应用授权</string>\n <string na"
},
{
"path": "pedometer/res/values/strings.xml",
"chars": 6861,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<resources>\n\n <string name=\"app_name\">Pedometer</string>\n <string name=\"act"
},
{
"path": "pedometer/res/values/styles.xml",
"chars": 1937,
"preview": "<resources>\n\n <!--\n Base application theme, dependent on API level. This theme is replaced\n by AppBaseT"
},
{
"path": "pedometer/res/values-sw600dp/dimens.xml",
"chars": 196,
"preview": "<resources>\n\n <!--\n Customize dimensions originally defined in res/values/dimens.xml (such as\n screen"
},
{
"path": "pedometer/res/values-sw720dp-land/dimens.xml",
"chars": 269,
"preview": "<resources>\n\n <!--\n Customize dimensions originally defined in res/values/dimens.xml (such as\n screen"
},
{
"path": "pedometer/res/values-v11/styles.xml",
"chars": 324,
"preview": "<resources>\n\n <!--\n Base application theme for API 11+. This theme completely replaces\n AppBaseTheme fr"
},
{
"path": "pedometer/res/values-v14/styles.xml",
"chars": 381,
"preview": "<resources>\n\n <!--\n Base application theme for API 14+. This theme completely replaces\n AppBaseTheme fr"
},
{
"path": "pedometer/src/com/bit/pedometer/common/utils/BmobUtil.java",
"chars": 2185,
"preview": "package com.bit.pedometer.common.utils;\n\nimport java.util.List;\n\nimport android.content.Context;\n\nimport cn.bmob.v3.Bmob"
},
{
"path": "pedometer/src/com/bit/pedometer/common/utils/HttpCallbackListener.java",
"chars": 147,
"preview": "package com.bit.pedometer.common.utils;\n\npublic interface HttpCallbackListener {\n\n\tvoid onFinish(String response);\n\n\tvoi"
},
{
"path": "pedometer/src/com/bit/pedometer/common/utils/HttpUtil.java",
"chars": 2287,
"preview": "package com.bit.pedometer.common.utils;\n\nimport java.io.BufferedReader;\nimport java.io.InputStream;\nimport java.io.Input"
},
{
"path": "pedometer/src/com/bit/pedometer/data/bean/Group.java",
"chars": 520,
"preview": "package com.bit.pedometer.data.bean;\n\npublic class Group {\n\n\tprivate int ID;\n\tprivate int total_number;\n\tprivate int mem"
},
{
"path": "pedometer/src/com/bit/pedometer/data/bean/Step.java",
"chars": 570,
"preview": "package com.bit.pedometer.data.bean;\n\npublic class Step {\n\n\tprivate int id;\n\tprivate int number;\n\tprivate String date;\n\t"
},
{
"path": "pedometer/src/com/bit/pedometer/data/bean/User.java",
"chars": 1424,
"preview": "package com.bit.pedometer.data.bean;\n\nimport java.io.Serializable;\nimport java.sql.Blob;\n\nimport cn.bmob.v3.BmobObject;\n"
},
{
"path": "pedometer/src/com/bit/pedometer/data/bean/Weather.java",
"chars": 964,
"preview": "package com.bit.pedometer.data.bean;\n\nimport java.io.Serializable;\n\npublic class Weather{\n\n\t/**\n\t * \n\t */\n\tprivate stati"
},
{
"path": "pedometer/src/com/bit/pedometer/data/db/PedometerDB.java",
"chars": 11282,
"preview": "package com.bit.pedometer.data.db;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport com.bit.pedometer.data.be"
},
{
"path": "pedometer/src/com/bit/pedometer/data/db/PedometerOpenHelper.java",
"chars": 1742,
"preview": "package com.bit.pedometer.data.db;\n\nimport android.content.Context;\nimport android.database.sqlite.SQLiteDatabase;\nimpor"
},
{
"path": "pedometer/src/com/bit/pedometer/receiver/AutoSaveReceiver.java",
"chars": 516,
"preview": "package com.bit.pedometer.receiver;\n\nimport com.bit.pedometer.service.AutoSaveService;\n\nimport android.content.Broadcast"
},
{
"path": "pedometer/src/com/bit/pedometer/service/AutoSaveService.java",
"chars": 1616,
"preview": "package com.bit.pedometer.service;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Calendar;\nimport java.util.Date;"
},
{
"path": "pedometer/src/com/bit/pedometer/service/MyService.java",
"chars": 3478,
"preview": "package com.bit.pedometer.service;\n\nimport android.app.IntentService;\nimport android.content.Intent;\nimport android.os.H"
},
{
"path": "pedometer/src/com/bit/pedometer/service/StepDetector.java",
"chars": 2654,
"preview": "package com.bit.pedometer.service;\n\nimport android.content.Context;\nimport android.hardware.Sensor;\nimport android.hardw"
},
{
"path": "pedometer/src/com/bit/pedometer/service/StepService.java",
"chars": 1398,
"preview": "package com.bit.pedometer.service;\n\nimport android.app.Service;\nimport android.content.Context;\nimport android.content.I"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/activity/BaseActivity.java",
"chars": 13488,
"preview": "package com.bit.pedometer.ui.activity;\n\nimport android.app.ProgressDialog;\nimport android.content.Context;\nimport androi"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/activity/MainActivity.java",
"chars": 2038,
"preview": "package com.bit.pedometer.ui.activity;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport com.bit.pedometer.R;\n"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/activity/SetToTakePicActivity.java",
"chars": 2301,
"preview": "package com.bit.pedometer.ui.activity;\n\nimport android.app.Activity;\nimport android.content.Intent;\nimport android.os.Bu"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/activity/WelcomeActivity.java",
"chars": 1878,
"preview": "package com.bit.pedometer.ui.activity;\n\nimport java.util.Timer;\nimport java.util.TimerTask;\n\nimport com.bit.pedometer.R;"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentAdapter.java",
"chars": 3748,
"preview": "package com.bit.pedometer.ui.fragment;\n\n\nimport java.util.List;\n\nimport com.bit.pedometer.ui.activity.MainActivity;\nimpo"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentAnalysis.java",
"chars": 6122,
"preview": "package com.bit.pedometer.ui.fragment;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Calendar;\n\nimport com.bit.pe"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentHistory.java",
"chars": 11168,
"preview": "package com.bit.pedometer.ui.fragment;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Calendar;\nimport java.util.D"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentPK.java",
"chars": 4819,
"preview": "package com.bit.pedometer.ui.fragment;\n\nimport java.util.ArrayList;\nimport java.util.List;\n\nimport com.bit.pedometer.R;\n"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentPedometer.java",
"chars": 7181,
"preview": "package com.bit.pedometer.ui.fragment;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport org.json.JSONE"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/FragmentSet.java",
"chars": 16528,
"preview": "package com.bit.pedometer.ui.fragment;\n\nimport java.io.File;\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\n"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_1.java",
"chars": 4521,
"preview": "package com.bit.pedometer.ui.fragment.PK;\n\nimport java.util.List;\n\nimport com.bit.pedometer.ui.activity.MainActivity;\nim"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_2.java",
"chars": 2862,
"preview": "package com.bit.pedometer.ui.fragment.PK;\n\nimport java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.List;\n"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_addmember.java",
"chars": 4137,
"preview": "package com.bit.pedometer.ui.fragment.PK;\n\nimport java.util.List;\n\nimport cn.bmob.v3.Bmob;\n\nimport com.bit.pedometer.ui."
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/PK/FragmentPK_memberset.java",
"chars": 4105,
"preview": "package com.bit.pedometer.ui.fragment.PK;\n\nimport com.bit.pedometer.R;\nimport com.bit.pedometer.data.db.PedometerDB;\nimp"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/CustomerLogo.java",
"chars": 617,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/EditPage.java",
"chars": 20161,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/FollowList.java",
"chars": 17620,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/OnekeyShare.java",
"chars": 19440,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/PicViewer.java",
"chars": 1314,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/PlatformGridView.java",
"chars": 13828,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/ShareContentCustomizeCallback.java",
"chars": 222,
"preview": "package com.bit.pedometer.ui.fragment.onekeyshare;\n\nimport cn.sharesdk.framework.Platform;\n\npublic interface ShareConten"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/onekeyshare/ShareCore.java",
"chars": 3644,
"preview": "/*\n * Offical Website:http://www.ShareSDK.cn\n * Support QQ: 4006852216\n * Offical Wechat Account:ShareSDK (We will inf"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/DisplayUtil.java",
"chars": 1597,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport android.content.Context;\n\npublic class DisplayUtil {\n\n\t /**\n * "
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/ExpandableListViewAdapter.java",
"chars": 5154,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport java.util.HashMap;\nimport java.util.List;\n\nimport com.bit.pedometer"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/MyAdapter.java",
"chars": 4076,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport java.util.List;\n\nimport com.bit.pedometer.R;\nimport com.bit.pedomet"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/MyListAdapter.java",
"chars": 2430,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport java.util.List;\n\nimport com.bit.pedometer.R;\nimport com.bit.pedomet"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/MyNumberPicker.java",
"chars": 1389,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport android.content.Context;\nimport android.graphics.Color;\nimport andr"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/PictureUtil.java",
"chars": 4127,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport java.io.ByteArrayInputStream;\nimport java.io.ByteArrayOutputStream;"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/ReFlashListView.java",
"chars": 8641,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport java.text.SimpleDateFormat;\nimport java.util.Date;\n\nimport com.bit."
},
{
"path": "pedometer/src/com/bit/pedometer/ui/fragment/tools/ToRoundBitmap.java",
"chars": 2208,
"preview": "package com.bit.pedometer.ui.fragment.tools;\n\nimport android.content.Context;\nimport android.graphics.Bitmap;\nimport and"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/view/CircleBar.java",
"chars": 8028,
"preview": "package com.bit.pedometer.ui.view;\n\nimport com.bit.pedometer.ui.fragment.tools.DisplayUtil;\nimport com.bit.pedometer.dat"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/view/HistogramView.java",
"chars": 5186,
"preview": "package com.bit.pedometer.ui.view;\n\nimport com.bit.pedometer.R;\nimport com.bit.pedometer.ui.fragment.tools.DisplayUtil;\n"
},
{
"path": "pedometer/src/com/bit/pedometer/ui/view/MyDialog.java",
"chars": 2476,
"preview": "package com.bit.pedometer.ui.view;\n\nimport android.app.Dialog;\nimport android.content.Context;\nimport android.os.Bundle;"
},
{
"path": "settings.gradle",
"chars": 21,
"preview": "include ':pedometer'\n"
}
]
// ... and 14 more files (download for full content)
About this extraction
This page contains the full source code of the 296777513/pedometer GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 156 files (399.2 KB), approximately 114.3k tokens, and a symbol index with 469 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.