Coder Social home page Coder Social logo

Comments (5)

jraska avatar jraska commented on May 23, 2024

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.

afaucogney avatar afaucogney commented on May 23, 2024

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

capture d ecran 2016-04-28 a 09 19 12

from falcon.

jraska avatar jraska commented on May 23, 2024

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.

jraska avatar jraska commented on May 23, 2024

Sorry for taking it so long. It should be fixed with e5a13cd. I will close the issue when I release it.

from falcon.

jraska avatar jraska commented on May 23, 2024

Version 1.0.2 released. If you can, please check it helped.

from falcon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.