滚动条不适用于Android

时间:2016-12-20 06:59:22

标签: android-layout

我想在单个屏幕上显示5个图形,我添加了滚动条视图,但它不适用于我。能帮助我们。我的代码是我的代码。 这是我的XML文件。

return (
  <th value={column} onClick={() => this.likeQuestion(column)}>{column}</th>
);

我有4个线条布局来显示图形。一个主要布局将包含所有4个线性布局。

1 个答案:

答案 0 :(得分:1)

尝试此代码,这将完美适合您

[Wed Dec 21 17:09:37.827172 2016] [ssl:info] [pid 9897:tid 139814575982336] [client 172.16.222.18:58770] AH01964: Connection to child 1 established (server ft1-emailservice:443)
[Wed Dec 21 17:09:37.827410 2016] [ssl:debug] [pid 9897:tid 139814575982336] ssl_engine_kernel.c(2115): [client 172.16.222.18:58770] AH02043: SSL virtual host for servername ft1-emailservice found
[Wed Dec 21 17:09:37.853864 2016] [ssl:debug] [pid 9897:tid 139814575982336] ssl_engine_kernel.c(2042): [client 172.16.222.18:58770] AH02041: Protocol: TLSv1.2, Cipher: ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)
[Wed Dec 21 17:09:37.863560 2016] [ssl:debug] [pid 9897:tid 139814575982336] ssl_engine_kernel.c(366): [client 172.16.222.18:58770] AH02034: Initial (No.1) HTTPS request received for child 1 (server ft1-emailservice:443)
[Wed Dec 21 17:09:37.863596 2016] [authz_core:debug] [pid 9897:tid 139814575982336] mod_authz_core.c(835): [client 172.16.222.18:58770] AH01628: authorization result: granted (no directives)
[Wed Dec 21 17:09:37.863645 2016] [proxy:debug] [pid 9897:tid 139814575982336] mod_proxy.c(1200): [client 172.16.222.18:58770] AH01143: Running scheme ajp handler (attempt 0)
[Wed Dec 21 17:09:37.863651 2016] [proxy_ajp:debug] [pid 9897:tid 139814575982336] mod_proxy_ajp.c(743): [client 172.16.222.18:58770] AH00895: serving URL ajp://10.212.125.35:11009/emailservice/v1/orders/1514481007/send
[Wed Dec 21 17:09:37.863657 2016] [proxy:debug] [pid 9897:tid 139814575982336] proxy_util.c(2156): AH00942: AJP: has acquired connection for (10.212.125.35)
[Wed Dec 21 17:09:37.863661 2016] [proxy:debug] [pid 9897:tid 139814575982336] proxy_util.c(2209): [client 172.16.222.18:58770] AH00944: connecting ajp://10.212.125.35:11009/emailservice/v1/orders/1514481007/send to 10.212.125.35:11009
[Wed Dec 21 17:09:37.863673 2016] [proxy:debug] [pid 9897:tid 139814575982336] proxy_util.c(2418): [client 172.16.222.18:58770] AH00947: connected /emailservice/v1/orders/1514481007/send to 10.212.125.35:11009
[Wed Dec 21 17:09:37.864395 2016] [proxy:debug] [pid 9897:tid 139814575982336] proxy_util.c(2811): AH02824: AJP: connection established with 10.212.125.35:11009 (10.212.125.35)
[Wed Dec 21 17:09:37.864445 2016] [proxy_ajp:debug] [pid 9897:tid 139814575982336] mod_proxy_ajp.c(269): [client 172.16.222.18:58770] AH00872: APR_BUCKET_IS_EOS
[Wed Dec 21 17:09:37.864450 2016] [proxy_ajp:debug] [pid 9897:tid 139814575982336] mod_proxy_ajp.c(275): [client 172.16.222.18:58770] AH00873: data to read (max 8186 at 4)
[Wed Dec 21 17:09:37.864454 2016] [proxy_ajp:debug] [pid 9897:tid 139814575982336] mod_proxy_ajp.c(289): [client 172.16.222.18:58770] AH00875: got 229 bytes of data

==> errors.20161221 <==
[Wed Dec 21 17:09:38.365718 2016] [proxy_ajp:error] [pid 9897:tid 139814575982336] (104)Connection reset by peer: AH01030: ajp_ilink_receive() can't receive header

==> errors.EMS.20161221 <==
[Wed Dec 21 17:09:38.365769 2016] [proxy_ajp:error] [pid 9897:tid 139814575982336] [client 172.16.222.18:58770] AH00992: ajp_read_header: ajp_ilink_receive failed
[Wed Dec 21 17:09:38.365778 2016] [proxy_ajp:error] [pid 9897:tid 139814575982336] (120006)APR does not understand this error code: [client 172.16.222.18:58770] AH00878: read response failed from 10.212.125.35:11009 (10.212.125.35)
[Wed Dec 21 17:09:38.365785 2016] [proxy:debug] [pid 9897:tid 139814575982336] proxy_util.c(2171): AH00943: AJP: has released connection for (10.212.125.35)
[Wed Dec 21 17:09:38.365971 2016] [ssl:debug] [pid 9897:tid 139814575982336] ssl_engine_io.c(1033): [client 172.16.222.18:58770] AH02001: Connection closed to child 1 with standard shutdown (server ft1-emailservice:443)