zoukankan      html  css  js  c++  java
  • 信息反馈-冲刺02

    昨天我做了学生登录后勤服务的界面;学生遇到问题需要上传图片,备注具体位置以及手机号

    遇到问题:如何调用本地相机或从本地选取图片上传;

    源代码:

    <?xml version="1.0" encoding="utf-8"?>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        xmlns:tools="http://schemas.android.com/tools"
        android:id="@+id/activity_main"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:context="com.example.helloworld.MainActivity"
        android:background="@drawable/fense">
        <RelativeLayout
            android:id="@+id/text11"
            android:layout_width="match_parent"
            android:layout_height="450dp"
            android:padding="100dp">
            <Button
                android:id="@+id/btn_xiangji"
                android:layout_width="150dp"
                android:layout_height="150dp"
                android:background="@drawable/xiangji">
            </Button>
        </RelativeLayout>
        <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_below="@id/text11">
                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="match_parent">
                        <Button
                             android:id="@+id/btn_textview1"
                             android:layout_width="180dp"
                             android:layout_height="match_parent"
                             android:text="操作说明"
                             android:background="@drawable/lvse"/>
                        <Button
                            android:id="@+id/btn_textview2"
                            android:layout_width="match_parent"
                            android:layout_height="match_parent"
                            android:text="我的服务"
                            android:layout_toRightOf="@id/btn_textview1"
                        android:background="@drawable/lvse"/>
                </LinearLayout>
        </RelativeLayout>
    </RelativeLayout>
  • 相关阅读:
    序列化模块
    验证码作业
    Red Hat Enterprise Linux 6安装好,开启网卡到搭建tftp服务器和安装dnw驱动,安装samba服务器
    3.Java基础_Java变量
    2.Java基础_Java常量
    1.Java基础_Java核心机制简介
    1.Python网络编程_UDP(简略版)
    3.Python爬虫入门_正则表达式(简单例子)
    2.Python爬虫入门_requests
    1.Python爬虫入门_urllib
  • 原文地址:https://www.cnblogs.com/sengzhao666/p/10801050.html
Copyright © 2011-2022 走看看