小编Jas*_*arc的帖子

自定义水平滚动视图与选择器

用户需要在我的应用程序的注册页面中输入其权重,为此创建水平滚动视图,中心元素数据将作为用户的高度(以英寸为单位).

在此输入图像描述

我尝试从Android SpinnerWheel实现Spinner Wheel Library,但它只支持int值,不支持分数.

我还尝试使用带有Center Lock库的Android Horizo​​ntalScrollView,但它不支持自动滚动.

任何人都可以建议一些示例或技巧来实现上面提到的滚动视图,中心元素值作为字段条目?

提前致谢!

android android-scrollview

7
推荐指数
1
解决办法
6079
查看次数

ANDROID STUDIO-如何制作项目的备份副本

如何在ANDROID STUDIO中制作项目的备份副本。我试图仅复制项目的文件夹,但是在项目组装时遇到了问题。我的应用程序无法正常运行。

build.gradle 文件:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.2.3'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
    }
}
Run Code Online (Sandbox Code Playgroud)
apply plugin: 'com.android.application'

android {
    compileSdkVersion 22
    buildToolsVersion "22.0.1"

    defaultConfig {
        applicationId "com.example.ss.new_my_wid"
        minSdkVersion 19
        targetSdkVersion 22
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release …
Run Code Online (Sandbox Code Playgroud)

android

6
推荐指数
3
解决办法
2万
查看次数

标签 统计

android ×2

android-scrollview ×1