首页
\
问答
\
我的Scrollview没有使用LinearLayout android滚动(My Scrollview is not scrolling with a LinearLayout android)
我的Scrollview没有使用LinearLayout android滚动(My Scrollview is not scrolling with a LinearLayout android)
我的Scrollview没有使用LinearLayout android滚动
知道为什么吗? 如果是这样请回复,我最近开始使用android所以它可能是非常简单的事情。 但我搜索并无法解决它。 帮助将很高兴。
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:nestedScrollingEnabled="true"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:id="@+id/textView" android:layout_gravity="center_horizontal" android:paddingBottom="80dp"/> <android.support.v7.widget.CardView android:layout_width="375dp" android:layout_height="300dp" android:layout_gravity="center_horizontal" app:cardCornerRadius="0dp" app:cardElevation="3dp" app:cardBackgroundColor="#161616"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/image"/> </RelativeLayout> </android.support.v7.widget.CardView> </LinearLayout> </ScrollView>
My Scrollview is not scrolling with a LinearLayout android
any idea why? if so please respond, I recently started on android so it might be really easy thing. But i searched and couldn't fix it. help would be gladly appreciated.
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="fill_parent" android:layout_height="fill_parent" android:nestedScrollingEnabled="true"> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" > <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="" android:id="@+id/textView" android:layout_gravity="center_horizontal" android:paddingBottom="80dp"/> <android.support.v7.widget.CardView android:layout_width="375dp" android:layout_height="300dp" android:layout_gravity="center_horizontal" app:cardCornerRadius="0dp" app:cardElevation="3dp" app:cardBackgroundColor="#161616"> <RelativeLayout android:layout_width="match_parent" android:layout_height="match_parent"> <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/image"/> </RelativeLayout> </android.support.v7.widget.CardView> </LinearLayout> </ScrollView>
原文:https://stackoverflow.com/questions/35659666
更新时间:2021-10-22 06:10
最满意答案
有同样的问题,背景是:
echo $ORACLE_HOME /usr/lib/oracle/12.1/client64
但是:sudo env | grep ORACLE_HOME
什么也没有。
解决方案:
sudo visudo
然后添加该行:
Defaults env_keep += "ORACLE_HOME"
在这里找到
Got the same problem, background is:
echo $ORACLE_HOME /usr/lib/oracle/12.1/client64
But: sudo env | grep ORACLE_HOME
yields nothing.
The solution:
sudo visudo
Then add the line :
Defaults env_keep += "ORACLE_HOME"
As found here
相关问答
更多-
软件用英文怎么说[2023-07-22]
software -
我成功使用cx_Oracle使用DatabaseLibrary访问Oracle数据库。 在Windows平台上,你 安装瘦客户端 到系统PATH,添加即时客户端文件夹的路径 安装cx_Oracle 连接到我们的设置的数据库如下所示: Connect To Database Using Custom Params cx_Oracle user='bob', password='letmein', dsn='(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(H ...
-
安装和设置Oracle Instant Client后,请使用不带cpan工具的常规构建步骤,并将-l选项传递给Makefile.PLL 下载tar.gz包并解压缩它 建立它 perl Makefile.PL -l make && make test 安装 make install After the installation and setup of the Oracle Instant Client, use the normal build steps without the cpan tool, ...
-
有同样的问题,背景是: echo $ORACLE_HOME /usr/lib/oracle/12.1/client64 但是:sudo env | grep ORACLE_HOME 什么也没有。 解决方案: sudo visudo 然后添加该行: Defaults env_keep += "ORACLE_HOME" 在这里找到 Got the same problem, background is: echo $ORACLE_HOME /usr/lib/oracle/12.1/client64 Bu ...
-
在Linux上安装Oracle DB(Install Oracle DB on Linux)[2022-12-04]
在安装之前,请花一些时间阅读适用于您的平台和Oracle版本(32位或64位)的安装指南。 这里只是一些提示 因为这是您的第一次安装,所以尽可能简化。 您不需要数据库控制或企业管理器。 第一次没有所有的花里胡哨。 对于数据库创建,仅选择字符集和块大小 - 安装后可以更改任何其他参数和选项。 如果选择AL32UTF8,请不要执行已准备好的安装,而是选择自定义安装。 Before doing install, take some time to read installation guide for your ... -
Debian:Oracle Java 9(JDK9) - 无法找到包(Debian: Oracle Java 9 (JDK9) - Unable to locate package)[2022-10-24]
回答: 我只是忘了添加 apt-get update Answer: I just forgot to add apt-get update -
Ruby on Rails安装错误:找不到Gemfile(Ruby on Rails installation error: Could not locate Gemfile)[2023-07-19]
在运行bundle install之前,请确保您在项目目录中。 例如,在运行rails new myproject ,在运行bundle install之前,需要先cd myproject 。 Make sure you are in the project directory before running bundle install. For example, after running rails new myproject, you will need to cd myproject before ... -
它不是IEEE 1063吗? Is it not IEEE 1063?
-
如同提到的肆无忌惮,请尝试使用oracle公司的官方oracledb软件包。 Solution for that issue was to shift back to nodejs version 0.12.7.
-
更新 正如Petriborg所建议的那样 ,在构建时设置LD_RUN_PATH将包括安装期间构建的cx_Oracle共享库中Oracle共享库文件的路径。 这就像我在第一个答案中所建议的那样,不需要LD_LIBRARY_PATH 。 对于您使用的RPM, ORACLE_HOME应设置为/usr/lib/oracle/12.1/client 。 如果你使用pip : $ export ORACLE_HOME=/usr/lib/oracle/12.1/client $ export LD_RUN_PATH=/u ...