Comments (5)
Hi,
This is the whole screenshot? Can you please tell me which device you are testing on and maybe a bit about the dialog you are showing? I will try to reproduce and find the cause.
from falcon.
Yes this is the whole screenshot. I did a short mistake. This is an Activity that is shown as a dialog, then from this activity-dialog, I open another dialog that keeps the same size on screenshot (as what I see, the screenshot height seems to be the activity-dialog background (white frame) height, but not vertical_center). Just an assumption !
Here is the layout:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/marge_small"
android:layout_marginRight="@dimen/marge_small"
android:background="@drawable/dialog_activity"
android:orientation="vertical"
android:paddingLeft="@dimen/marge_small"
android:paddingRight="@dimen/marge_small">
<TextView
android:id="@+id/tv_SelectedText"
fontPath="fonts/Besom.ttf"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/marge"
android:gravity="center"
android:hint=""
android:text="@string/dialog_activity_auth_title"
android:textAllCaps="true"
android:textColor="@color/identite"
android:textSize="@dimen/popup_title_textSize" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="@dimen/marge"
android:layout_marginBottom="@dimen/marge_small"
android:visibility="gone"
android:background="@color/com_facebook_blue">
<com.facebook.login.widget.LoginButton
android:id="@+id/login_with_facebook"
android:layout_width="fill_parent"
android:layout_height="@dimen/marge"
android:layout_gravity="center"
android:paddingLeft="@dimen/marge_small"
android:text="@string/login_with_facebook"
android:textSize="@dimen/placeHolder_textSize" />
</FrameLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/marge"
android:layout_marginBottom="@dimen/marge_small"
android:background="@color/com_facebook_blue"
android:orientation="horizontal">
<ImageView
android:layout_margin="@dimen/marge_small_border"
android:layout_width="@dimen/marge_small"
android:layout_height="@dimen/marge_small"
android:scaleType="fitCenter"
android:src="@drawable/com_facebook_button_icon" />
<Button
android:id="@+id/login_with_facebook_fake"
android:layout_width="fill_parent"
android:layout_height="@dimen/marge"
android:layout_marginLeft="@dimen/marge_small"
android:layout_marginRight="@dimen/marge_small"
android:background="@color/transparent"
android:text="@string/login_with_facebook"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="@dimen/placeHolder_textSize" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="@dimen/marge"
android:layout_marginBottom="@dimen/marge_small"
android:background="@color/interaction"
android:orientation="horizontal">
<ImageView
android:layout_width="@dimen/marge"
android:layout_height="@dimen/marge"
android:scaleType="fitCenter"
android:src="@mipmap/ic_launcher" />
<Button
android:id="@+id/login_with_password"
android:layout_width="fill_parent"
android:layout_height="@dimen/marge"
android:layout_marginLeft="@dimen/marge_small"
android:layout_marginRight="@dimen/marge_small"
android:background="@color/transparent"
android:text="@string/login_with_password"
android:textAllCaps="false"
android:textColor="@color/white"
android:textSize="@dimen/placeHolder_textSize" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="54dp"
android:layout_marginTop="@dimen/marge_small"
android:gravity="end"
android:orientation="horizontal">
<fr.millezimsolutions.app.millezimu.Component.PaperButton xmlns:widget="http://schemas.android.com/apk/res-auto"
android:id="@+id/pb_neutral"
android:layout_width="0dp"
android:layout_height="54dp"
android:layout_weight="1"
android:visibility="invisible"
widget:paper_color="@color/white_contrast"
widget:paper_corner_radius="@dimen/view_corner_radius"
widget:paper_font="fonts/Besom.ttf"
widget:paper_ripple_color="@color/interaction_light"
widget:paper_shadow_color="@color/white_contrast"
widget:paper_text="@string/buttonCancel"
widget:paper_text_color="@color/interaction_contraste"
widget:paper_text_size="@dimen/button_textSize" />
<fr.millezimsolutions.app.millezimu.Component.PaperButton xmlns:widget="http://schemas.android.com/apk/res-auto"
android:id="@+id/pb_negative"
android:layout_width="0dp"
android:layout_height="54dp"
android:layout_weight="1"
widget:paper_color="@color/white_contrast"
widget:paper_corner_radius="@dimen/view_corner_radius"
widget:paper_font="fonts/Besom.ttf"
widget:paper_ripple_color="@color/interaction_light"
widget:paper_shadow_color="@color/white_contrast"
widget:paper_text="@string/buttonCancel"
widget:paper_text_color="@color/interaction"
widget:paper_text_size="@dimen/button_textSize" />
<fr.millezimsolutions.app.millezimu.Component.PaperButton xmlns:widget="http://schemas.android.com/apk/res-auto"
android:id="@+id/pb_positive"
android:layout_width="0dp"
android:layout_height="54dp"
android:layout_weight="1"
android:visibility="invisible"
widget:paper_color="@color/white_contrast"
widget:paper_corner_radius="@dimen/view_corner_radius"
widget:paper_font="fonts/Besom.ttf"
widget:paper_ripple_color="@color/interaction_light"
widget:paper_shadow_color="@color/white_contrast"
widget:paper_text="@string/validate"
widget:paper_text_color="@color/interaction"
widget:paper_text_size="@dimen/button_textSize" />
</LinearLayout>
</LinearLayout>
Here is a screenshot done from AS preview
from falcon.
Hi thank you, I think you could find a bug, I will try to reproduce and I will try to fix it soon.
from falcon.
Sorry for taking it so long. It should be fixed with e5a13cd. I will close the issue when I release it.
from falcon.
Version 1.0.2 released. If you can, please check it helped.
from falcon.
Related Issues (20)
- Crash when call not in UI Thread HOT 2
- FalconSpoon class present in 2.0.0 release HOT 1
- java.lang.NoClassDefFoundError: Failed resolution of: Lcom/squareup/spoon/SpoonRule HOT 4
- Update Readme HOT 2
- Crash: onMeasure() did not set the measured dimension by calling setMeasuredDimension() HOT 4
- Usage of Undocumented API (API 29) HOT 10
- Impossible to capture shadows around components HOT 3
- Shading or packaging Spoon dependency HOT 4
- Falcon enhancement to work with AirBnb's Lottie animations HOT 4
- Screenshot not Capturing Overlay HOT 5
- can not cature webview HOT 2
- Add Kotlin examples
- Fails to capture screenshot with hardware bitmaps HOT 13
- Migrate to Maven Central HOT 8
- How to take screenshot of textureview alongwith otherviews ? HOT 1
- 高德地图使用问题 HOT 1
- react-native webview canvas Black screen HOT 1
- Values are not getting reflected in screenshot for AutoCompleteTextView and TextInputEditText HOT 2
- PreviewView HOT 1
- com.jraska.falcon.Falcon$UnableToTakeScreenshotException: Unable to take screenshot to file HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from falcon.