在SDK 19-1中使用CardView的cardCornerRadius时不起作用match_parent

时间:2020-07-10 09:44:57

标签: android imageview cardview

我在CardView中使用了imageview。并在CardView上设置cardCornerRadius。然后,ImageView不会填写CardView。 但是它的工作方式类似于在sdk 19上进行操作。红色区域是bug。 You can check bug on here

我的代码正在关注。

 $credentials = [
            'grant_type' => 'password',
            'client_id' => '2',
            'client_secret' => 'zcdHbITBhD5PPgGZ4n8qpIgYmmK83hcdYTbvLmja',
            'username' => $email,
            'password' => $password,
            'scope' => '*',
        ];
        $request = Request::create('oauth/token', 'POST', $credentials, [], [], [
            'HTTP_Accept' => 'application/json',
            'Content-type' => 'application/x-www-form-urlencoded'
        ]);
        $response = app()->handle($request);
        //$response = app('router')->prepareResponse($request, app()->handle($request));
        $decodedResponse = json_decode($response->getContent(), true);
        // if ($response->getStatusCode() != 200) {

0 个答案:

没有答案